Skip to content

Commit feacc3f

Browse files
authored
Merge pull request #22922 from linux-on-ibm-z/swift-5.0-s390x-test-allocbox-1
[5.0] Generalize alloc_box test for different platforms
2 parents fb9f864 + 4758e7c commit feacc3f

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)