diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-11 00:27:06 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-11 00:27:06 +0000 |
commit | 1da83fafbacd96a85376743a7e40b522dcd478f5 (patch) | |
tree | 24de52822cc62fef4e4de7e1a7d8097fd8f67f80 /test/CodeGen/const-init.c | |
parent | 043cad21b78c6b02597cdc7b6ead32388e27ebc7 (diff) |
Update this test to expect the "inbounds" keyword, which LLVM's constant
folder is now automatically adding.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81491 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/const-init.c')
-rw-r--r-- | test/CodeGen/const-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/const-init.c b/test/CodeGen/const-init.c index 106e2ddf90..278d84fc56 100644 --- a/test/CodeGen/const-init.c +++ b/test/CodeGen/const-init.c @@ -85,7 +85,7 @@ void g18(void) { static int *p[] = { &g19 }; } -// 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 && +// RUN: grep '@g20.l0 = internal global %.truct.g20_s1 { %.truct.g20_s0\* null, %.truct.g20_s0\*\* getelementptr inbounds (%.truct.g20_s1\* @g20.l0, i32 0, i32 0) }' %t && struct g20_s0; struct g20_s1 { |