llvm-project/llvm/test/C++Frontend/2004-01-11-DynamicInitializ...

7 lines
123 B
Plaintext
Raw Normal View History

// RUN: %llvmgcc -xc++ -S -o - %s | not grep { constant }
2004-01-12 13:01:48 +08:00
extern int X;
const int Y = X;
const int* foo() { return &Y; }