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/CodeGenCXX/cxx1y-initializer-aggregate.cpp | |
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/CodeGenCXX/cxx1y-initializer-aggregate.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp b/clang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp index eedf71479bb..50629b59056 100644 --- a/clang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp +++ b/clang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp @@ -56,7 +56,7 @@ C n{}; // CHECK: getelementptr inbounds i8, i8* %{{.*}}, {{.*}} %{{.*}} // CHECK: store i8 %{{.*}}, i8* getelementptr inbounds ({{.*}} @a, i32 0, i32 2) // CHECK: call i32 @_ZN1A1fEv({{.*}} @a) -// CHECK: store i32 %{{.*}}, i32* getelementptr inbounds ({{.*}}* @a, i32 0, i32 3) +// CHECK: store i32 %{{.*}}, i32* getelementptr inbounds ({{.*}}, {{.*}}* @a, i32 0, i32 3) // CHECK: store double 1.000000e+00, double* getelementptr inbounds ({{.*}} @a, i32 0, i32 4, i32 0) // No dynamic initialization of 'b': @@ -70,7 +70,7 @@ C n{}; // CHECK-NOT: load // CHECK: store i8 65, i8* getelementptr inbounds ({{.*}} @c, i32 0, i32 2) // CHECK: call i32 @_Z1fv() -// CHECK: store i32 %{{.*}}, i32* getelementptr inbounds ({{.*}}* @c, i32 0, i32 3) +// CHECK: store i32 %{{.*}}, i32* getelementptr inbounds ({{.*}}, {{.*}}* @c, i32 0, i32 3) // CHECK-NOT: C1Ev // CHECK: store i8 3, i8* {{.*}} @c, i32 0, i32 4) |