summaryrefslogtreecommitdiff
path: root/test/Transforms/ObjCARC/weak-copies.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/ObjCARC/weak-copies.ll')
-rw-r--r--test/Transforms/ObjCARC/weak-copies.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/ObjCARC/weak-copies.ll b/test/Transforms/ObjCARC/weak-copies.ll
index e1a94bb474..b576295e11 100644
--- a/test/Transforms/ObjCARC/weak-copies.ll
+++ b/test/Transforms/ObjCARC/weak-copies.ll
@@ -39,7 +39,7 @@ entry:
; Eliminate unnecessary weak pointer copies in a block initialization.
-; CHECK: define void @qux(i8* %me) nounwind {
+; CHECK: define void @qux(i8* %me) #0 {
; CHECK-NEXT: entry:
; CHECK-NEXT: %block = alloca %1, align 8
; CHECK-NOT: alloca
@@ -84,4 +84,6 @@ declare i8* @objc_loadWeak(i8**)
declare void @use(i8*) nounwind
declare void @objc_destroyWeak(i8**)
+; CHECK: attributes #0 = { nounwind }
+
!0 = metadata !{}