brintos

brintos / llvm-project-archived public Read only

0
0
Text · 239 B · 354fcd4 Raw
8 lines · cpp
1// RUN: %clang_cc1 -emit-llvm-only -verify %s2// expected-no-diagnostics3 4// Make sure we don't crash generating y; its value is constant, but the5// initializer has side effects, so EmitConstantExpr should fail.6int x();7int y = x() & 0;8