diff options
Diffstat (limited to 'test/CodeGenCXX/for-range.cpp')
-rw-r--r-- | test/CodeGenCXX/for-range.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGenCXX/for-range.cpp b/test/CodeGenCXX/for-range.cpp index 926fe44..8124129 100644 --- a/test/CodeGenCXX/for-range.cpp +++ b/test/CodeGenCXX/for-range.cpp @@ -32,7 +32,7 @@ B *end(C&); extern B array[5]; -// CHECK: define void @_Z9for_arrayv( +// CHECK-LABEL: define void @_Z9for_arrayv( void for_array() { // CHECK: call void @_ZN1AC1Ev(%struct.A* [[A:.*]]) A a; @@ -40,7 +40,7 @@ void for_array() { // CHECK-NOT: 5begin // CHECK-NOT: 3end // CHECK: getelementptr {{.*}}, i32 0 - // CHECK: getelementptr {{.*}}, i64 1, i64 0 + // CHECK: getelementptr {{.*}}, i64 5 // CHECK: br label %[[COND:.*]] // CHECK: [[COND]]: @@ -61,7 +61,7 @@ void for_array() { // CHECK: ret void } -// CHECK: define void @_Z9for_rangev( +// CHECK-LABEL: define void @_Z9for_rangev( void for_range() { // CHECK: call void @_ZN1AC1Ev(%struct.A* [[A:.*]]) A a; @@ -93,7 +93,7 @@ void for_range() { // CHECK: ret void } -// CHECK: define void @_Z16for_member_rangev( +// CHECK-LABEL: define void @_Z16for_member_rangev( void for_member_range() { // CHECK: call void @_ZN1AC1Ev(%struct.A* [[A:.*]]) A a; |