diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-19 07:31:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-19 07:31:54 +0000 |
commit | a94f9ffd0eff23e1913151868d1e76a5124208ee (patch) | |
tree | fb3aad5796a811a60f2f959f9191bfed010c917a /llvm | |
parent | 48c23141a273f92bce87a81fe72b7f094071549d (diff) | |
download | bcm5719-llvm-a94f9ffd0eff23e1913151868d1e76a5124208ee.tar.gz bcm5719-llvm-a94f9ffd0eff23e1913151868d1e76a5124208ee.zip |
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 :)
llvm-svn: 20247
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp b/llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp index b215d3e3dab..27da715c147 100644 --- a/llvm/test/Regression/C++Frontend/2005-01-03-StaticInitializers.cpp +++ b/llvm/test/Regression/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]; |