Skip to content

Commit 4758e7c

Browse files
committed
Generalize alloc_box test for different platforms
1 parent fa5d493 commit 4758e7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/IRGen/alloc_box.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ func f() -> Bool? { return nil }
99
})()
1010

1111
// CHECK-LABEL: @"$s9alloc_boxyyXEfU_"
12-
// CHECK: <label>:9:
1312
// CHECK-NOT: call void @swift_setDeallocating
1413
// CHECK: call void @swift_deallocUninitializedObject
15-
14+
// CHECK-NOT: call void @swift_setDeallocating
15+
// CHECK: ret void

0 commit comments

Comments
 (0)