summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/eval-recursive-constant.cpp
blob: 608c95d828ed78bae64f937c5285f9625639381e (about) (plain)
1
2
3
4
5
// 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; }