Skip to content

Commit a9e35ed

Browse files
committed
1 parent a5a15ba commit a9e35ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// RUN: %target-swift-frontend -emit-ir %s
2+
3+
class A { }
4+
class B<T> : A { }
5+
class C {
6+
func bar(x : (A?) -> Void) { }
7+
}
8+
class D<T> : C {
9+
override func bar(x : (B<T>?) -> Void) { }
10+
}

0 commit comments

Comments
 (0)