this test was incorrect for x86-64 static. It passed on darwin, because darwin
[oota-llvm.git] / test / FrontendC++ / 2004-01-11-DynamicInitializedConstant.cpp
1 // RUN: %llvmgcc -xc++ -S -o - %s | not grep { constant }
2
3 extern int X;
4 const int Y = X;
5 const int* foo() { return &Y; }
6