diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-03-13 18:21:46 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-03-13 18:21:46 +0000 |
commit | bdf40a62a740c6e0b6f10543617ba768759951b6 (patch) | |
tree | 3e862f3fb3d405a72d689fd8c90b8a3675664602 /clang/test/CodeGen/const-init.c | |
parent | 4a54fae8cb008ea6f5e562e9561b54cf2c9e498c (diff) | |
download | bcm5719-llvm-bdf40a62a740c6e0b6f10543617ba768759951b6.tar.gz bcm5719-llvm-bdf40a62a740c6e0b6f10543617ba768759951b6.zip |
Test case updates for explicit type parameter to the gep operator
llvm-svn: 232187
Diffstat (limited to 'clang/test/CodeGen/const-init.c')
-rw-r--r-- | clang/test/CodeGen/const-init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/const-init.c b/clang/test/CodeGen/const-init.c index b86274fc824..9434f1d1b24 100644 --- a/clang/test/CodeGen/const-init.c +++ b/clang/test/CodeGen/const-init.c @@ -102,7 +102,7 @@ void g18(void) { static int *p[] = { &g19 }; } -// CHECK: @g20.l0 = internal global %struct.g20_s1 { %struct.g20_s0* null, %struct.g20_s0** getelementptr inbounds (%struct.g20_s1* @g20.l0, i32 0, i32 0) } +// CHECK: @g20.l0 = internal global %struct.g20_s1 { %struct.g20_s0* null, %struct.g20_s0** getelementptr inbounds (%struct.g20_s1, %struct.g20_s1* @g20.l0, i32 0, i32 0) } struct g20_s0; struct g20_s1 { struct g20_s0 *f0, **f1; @@ -121,7 +121,7 @@ struct g22 {int x;} __attribute((packed)); struct g23 {char a; short b; char c; struct g22 d;}; struct g23 g24 = {1,2,3,4}; -// CHECK: @g25.g26 = internal global i8* getelementptr inbounds ([4 x i8]* @__func__.g25, i32 0, i32 0) +// CHECK: @g25.g26 = internal global i8* getelementptr inbounds ([4 x i8], [4 x i8]* @__func__.g25, i32 0, i32 0) // CHECK: @__func__.g25 = private unnamed_addr constant [4 x i8] c"g25\00" int g25() { static const char *g26 = __func__; |