Skip to content

Commit acd550d

Browse files
author
Raj Barik
committed
Fix Intepreter/dynamic_self.swift test for ExistentialSpecializer
1 parent 1119b91 commit acd550d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/Interpreter/dynamic_self.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ class C : P, CP {
4646
print("Allocating C")
4747
}
4848

49-
deinit {
50-
print("Destroying C")
51-
}
52-
5349
func f() -> Self {
5450
print("C.f()")
5551
return self
@@ -80,7 +76,6 @@ print("C() as non-class existential")
8076
// CHECK-NEXT: Between calls
8177
// CHECK-NEXT: C.g()
8278
// CHECK-NEXT: After second call
83-
// CHECK-NEXT: Destroying C
8479
callDynamicSelfExistential(C())
8580

8681
// CHECK-NEXT: C() as class existential
@@ -91,7 +86,6 @@ print("C() as class existential")
9186
// CHECK-NEXT: Between calls
9287
// CHECK-NEXT: C.g()
9388
// CHECK-NEXT: After second call
94-
// CHECK-NEXT: Destroying C
9589
callDynamicSelfClassExistential(C())
9690

9791
print("-------------------------------")

0 commit comments

Comments
 (0)