diff options
author | Anders Carlsson <andersca@mac.com> | 2009-07-27 15:31:55 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-07-27 15:31:55 +0000 |
commit | abdad358b53d0efd1d89ea434b7078600a656d1f (patch) | |
tree | cb3b7d1fe580ed3593273e9935c31759bd5d201f /test/CodeGen/const-init.c | |
parent | c1efe36ca75b4f4f82cdec464bab5693ed0d6058 (diff) |
Enable the new struct type builder now that the constant struct builder works. (The old code will still be there until we know that everything works well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/const-init.c')
-rw-r--r-- | test/CodeGen/const-init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/const-init.c b/test/CodeGen/const-init.c index 2ee6f0d719..106e2ddf90 100644 --- a/test/CodeGen/const-init.c +++ b/test/CodeGen/const-init.c @@ -59,7 +59,7 @@ long g11() { static char g12_tmp; long g12 = (long) &g12_tmp; -// RUN: grep '@g13 = global %. <{ %. { i32 ptrtoint (i8\* @g12_tmp to i32) } }>' %t && +// RUN: grep '@g13 = global \[1 x %.truct.g13_s0\] \[%.truct.g13_s0 { i32 ptrtoint (i8\* @g12_tmp to i32) }\]' %t && struct g13_s0 { long a; }; @@ -85,7 +85,7 @@ void g18(void) { static int *p[] = { &g19 }; } -// RUN: grep '@g20.l0 = internal global %. { .struct.g20_s0\* null, .struct.g20_s0\*\* getelementptr (.struct.g20_s1\* bitcast (%.\* @g20.l0 to .struct.g20_s1\*), i32 0, i32 0) }' %t && +// RUN: grep '@g20.l0 = internal global %.truct.g20_s1 { %.truct.g20_s0\* null, %.truct.g20_s0\*\* getelementptr (%.truct.g20_s1\* @g20.l0, i32 0, i32 0) }' %t && struct g20_s0; struct g20_s1 { |