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
This commit is contained in:
Chris Lattner 2005-02-19 07:31:54 +00:00
parent 48c23141a2
commit a94f9ffd0e
1 changed files with 1 additions and 1 deletions

View File

@ -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];