summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/const-init.c
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-11 00:27:06 +0000
committerDan Gohman <gohman@apple.com>2009-09-11 00:27:06 +0000
commit0533ffa2a68df77462a1a5c4cf1f54433c397e7c (patch)
treed36a9c727aabc4d239e1dc4d8acf0ec4171774ba /clang/test/CodeGen/const-init.c
parent73341c4e63199356707c495456ce702ca6cd35f2 (diff)
downloadbcm5719-llvm-0533ffa2a68df77462a1a5c4cf1f54433c397e7c.tar.gz
bcm5719-llvm-0533ffa2a68df77462a1a5c4cf1f54433c397e7c.zip
Update this test to expect the "inbounds" keyword, which LLVM's constant
folder is now automatically adding. llvm-svn: 81491
Diffstat (limited to 'clang/test/CodeGen/const-init.c')
-rw-r--r--clang/test/CodeGen/const-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/const-init.c b/clang/test/CodeGen/const-init.c
index 106e2ddf904..278d84fc566 100644
--- a/clang/test/CodeGen/const-init.c
+++ b/clang/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 {
OpenPOWER on IntegriCloud