Skip to content

Commit 99d9c94

Browse files
committed
Add now-fixed test case for rdar://problem/45590743
1 parent f9f63bd commit 99d9c94

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: not %target-swift-frontend -typecheck %s
2+
3+
// rdar://problem/45590743 used to crash
4+
class Base {
5+
var x = 0
6+
}
7+
8+
class Derived : Base {
9+
override var x = Derived().x
10+
}

0 commit comments

Comments
 (0)