Skip to content

Commit db6c5eb

Browse files
committed
Test case
The test fails if either of the previous two commits is missing.
1 parent eef4d68 commit db6c5eb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/pos/i1131.scala

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
class Outer {
2+
class Inner
3+
}
4+
5+
trait MustBeATrait {
6+
val o = new Outer
7+
val inner = {
8+
class C {
9+
new o.Inner
10+
}
11+
new C
12+
}
13+
val inner2 = new o.Inner {}
14+
}

0 commit comments

Comments
 (0)