1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/FrontendC++/2004-01-11-DynamicInitializedConstant.cpp

7 lines
123 B
C++
Raw Normal View History

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