Skip to content

Commit e216169

Browse files
committed
Add a (now fixed) compiler crash test case contributed by Jasl on the swift-dev mailing list
1 parent 7be67b5 commit e216169

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: not %target-swift-frontend %s -emit-silgen
2+
3+
protocol FooType {
4+
func bar(b: Int)
5+
}
6+
7+
extension FooType {
8+
func bar(a: Int, b: Int) {}
9+
}
10+
11+
struct Foo : FooType {}

0 commit comments

Comments
 (0)