summaryrefslogtreecommitdiff
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-19 07:31:54 +0000
committerChris Lattner <sabre@nondot.org>2005-02-19 07:31:54 +0000
commit8e0de32cc99f05076c126a77620b2d1ff5751b93 (patch)
tree4bfafcf4c4e71a31f99ba00dbbf268be861d11d0 /test/C++Frontend
parentc1f90a9fce75d92357a390f456d55acc20ed089c (diff)
downloadllvm-8e0de32cc99f05076c126a77620b2d1ff5751b93.tar.gz
llvm-8e0de32cc99f05076c126a77620b2d1ff5751b93.tar.bz2
llvm-8e0de32cc99f05076c126a77620b2d1ff5751b93.tar.xz
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 :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-rw-r--r--test/C++Frontend/2005-01-03-StaticInitializers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/C++Frontend/2005-01-03-StaticInitializers.cpp b/test/C++Frontend/2005-01-03-StaticInitializers.cpp
index b215d3e3da..27da715c14 100644
--- a/test/C++Frontend/2005-01-03-StaticInitializers.cpp
+++ b/test/C++Frontend/2005-01-03-StaticInitializers.cpp
@@ -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];