Remove printout, realize that instructions in the entry block dominate all
[oota-llvm.git] / test / C++Frontend / 2004-10-04-ExternalGlobalConstant.cpp.tr
1 // RUN: %llvmgcc -xc++ -S -o - %s | grep %y | not grep constant
2
3 struct Y {
4   int A;
5   Y();
6 };
7
8 // This global cannot be marked 'constant' because the ctor can modify it.
9 extern const Y y;
10
11 void foo(...);
12 int bar() { foo(&y); }