llvm/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr
Chris Lattner 20cd43b2f6 Testcase for PR204
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10769 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 05:01:48 +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; }