Skip to content

Commit 1e7f702

Browse files
committed
add test file for deprecated conformances
1 parent 3b068c9 commit 1e7f702

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
public
2+
protocol P {}
3+
4+
extension P
5+
{
6+
public
7+
func f() {}
8+
}
9+
10+
public
11+
struct S {}
12+
13+
@available(*, deprecated)
14+
extension S:P
15+
{
16+
}
17+
@available(*, deprecated)
18+
extension S
19+
{
20+
public
21+
func g() {}
22+
}

0 commit comments

Comments
 (0)