llvm-mirror/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr
2007-04-15 20:41:31 +00:00

7 lines
123 B
Plaintext

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