Clobber more bugs.
[oota-llvm.git] / test / C++Frontend / 2005-01-03-StaticInitializers.cpp
index b215d3e3dab2726d0dd295ab8b3b0fac559c06d1..da1b005cf4ab7cf0a9894985d974cd681f428ff2 100644 (file)
@@ -1,8 +1,8 @@
-// RUN: %llvmgxx %s -S -o - | grep '%XX = global int 4'
+// RUN: %llvmgxx %s -S -o - | not grep llvm.global_ctor
 
 struct S {
   int  A[2];
 };
 
-int XX = (int)&(((struct S*)0)->A[1]);
+int XX = (int)(long)&(((struct S*)0)->A[1]);