Skip to content

Commit 0e9a3cb

Browse files
committed
Add regression test to close #45389
1 parent 1431b6f commit 0e9a3cb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// RUN: %target-typecheck-verify-swift
2+
3+
struct Box<T> {}
4+
5+
infix operator =*=
6+
protocol P1 {
7+
associatedtype A
8+
static func =*= (x: Self, y: Box<A>)
9+
}
10+
class C1<A>: P1 {
11+
static func =*= (x: C1, y: Box<A>) {}
12+
}

0 commit comments

Comments
 (0)