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