1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/test/Regression/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr
Chris Lattner c45c2bdbad Testcase for PR204
llvm-svn: 10769
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; }