diff options
Diffstat (limited to 'test/CodeGenObjC/arc-no-arc-exceptions.m')
-rw-r--r-- | test/CodeGenObjC/arc-no-arc-exceptions.m | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGenObjC/arc-no-arc-exceptions.m b/test/CodeGenObjC/arc-no-arc-exceptions.m index 7ae061f41467..008c848987e1 100644 --- a/test/CodeGenObjC/arc-no-arc-exceptions.m +++ b/test/CodeGenObjC/arc-no-arc-exceptions.m @@ -10,7 +10,7 @@ void not(void) __attribute__((nothrow)); // CHECK: define void @test0( // CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions ! -// CHECK: call void @not() nounwind, !clang.arc.no_objc_arc_exceptions ! +// CHECK: call void @not() [[NUW:#[0-9]+]], !clang.arc.no_objc_arc_exceptions ! // NO-METADATA: define void @test0( // NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions // NO-METADATA: } @@ -21,7 +21,7 @@ void test0(void) { // CHECK: define void @test1( // CHECK: call void @thrower(), !clang.arc.no_objc_arc_exceptions ! -// CHECK: call void @not() nounwind, !clang.arc.no_objc_arc_exceptions ! +// CHECK: call void @not() [[NUW]], !clang.arc.no_objc_arc_exceptions ! // NO-METADATA: define void @test1( // NO-METADATA-NOT: !clang.arc.no_objc_arc_exceptions // NO-METADATA: } @@ -76,3 +76,5 @@ void test4(void) { b(); } } + +// CHECK: attributes [[NUW]] = { nounwind } |