Skip to content

Commit 15bd9a4

Browse files
committed
Add regression test to close #52883
1 parent af8b040 commit 15bd9a4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/decl/protocol/protocol_with_superclass.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,3 +351,11 @@ func usesProtoRefinesClass2<T : ProtoRefinesClassComposition>(_ t: T) {
351351
t.genericMethod((1, 2))
352352
let _: BaseProto = t
353353
}
354+
355+
class SR10483_C: SR10483_P {}
356+
protocol SR10483_P: SR10483_C {
357+
func foo()
358+
}
359+
extension SR10483_P {
360+
func foo() {}
361+
}

0 commit comments

Comments
 (0)