[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 18 23:32:08 PST 2005



Changes in directory llvm/test/Regression/C++Frontend:

2005-01-03-StaticInitializers.cpp updated: 1.1 -> 1.2
---
Log message:

Adjust this test to pass after recent CFE changes.  We now generate:

%XX = global int cast (int* getelementptr ([2 x int]* getelementptr (%struct.S* null, int 0, uint 0), int 0, int 1) to int)

which is the literal translation of the testcase :)


---
Diffs of the changes:  (+1 -1)

 2005-01-03-StaticInitializers.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp
diff -u llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp:1.1 llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp:1.2
--- llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp:1.1	Mon Jan  3 16:27:58 2005
+++ llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp	Sat Feb 19 01:31:54 2005
@@ -1,4 +1,4 @@
-// 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];






More information about the llvm-commits mailing list