llvm-for-llvmta/tools/clang/test/CodeGenCXX/eval-recursive-constant.cpp

6 lines
119 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -emit-llvm-only
extern const int a,b;
const int a=b,b=a;
int c() { if (a) return 1; return 0; }