1 // RUN: %clang_cc1 -emit-llvm-only -verify %s
2 
3 // Make sure we don't crash generating y; its value is constant, but the
4 // initializer has side effects, so EmitConstantExpr should fail.
5 int x();
6 int y = x() && 0;
7