llvm/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr
Reid Spencer 358f3275cc For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36084 91177308-0d34-0410-b5e6-96231b3b80d8
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; }