Skip to content

Commit d85933b

Browse files
authored
Merge pull request #77303 from drexin/wip-138917831-6.0
[6.0][Tests] Fix Interpreter/layout_string_witnesses_objc.swift
2 parents db4aa81 + f001896 commit d85933b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Interpreter/layout_string_witnesses_objc.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ struct MultiPayloadObjCExistentialWrapper {
6464
}
6565

6666
func testMultiPayloadObjCExistentialWrapper() {
67-
let ptr = allocateInternalGenericPtr(of: NestedWrapper<MultiPayloadObjCExistentialWrapper>.self)
67+
let ptr = allocateInternalGenericPtr(of: MultiPayloadObjCExistentialWrapper.self)
6868

6969
do {
7070
let x = MultiPayloadObjCExistentialWrapper(x: .y(ObjCPrintOnDealloc()))
@@ -84,7 +84,7 @@ func testMultiPayloadObjCExistentialWrapper() {
8484
print("Before deinit")
8585

8686
// CHECK-NEXT: ObjCPrintOnDealloc deinitialized!
87-
testGenericDestroy(ptr, of: NestedWrapper<MultiPayloadObjCExistentialWrapper>.self)
87+
testGenericDestroy(ptr, of: MultiPayloadObjCExistentialWrapper.self)
8888

8989
ptr.deallocate()
9090
}

0 commit comments

Comments
 (0)