diff options
Diffstat (limited to 'test/files/pos/t3076')
-rw-r--r-- | test/files/pos/t3076/C2.scala | 4 | ||||
-rw-r--r-- | test/files/pos/t3076/T.scala | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t3076/C2.scala b/test/files/pos/t3076/C2.scala new file mode 100644 index 0000000000..d08f9ee81d --- /dev/null +++ b/test/files/pos/t3076/C2.scala @@ -0,0 +1,4 @@ +class C2 { + def m1() { new T { } } + def m2() { new T { } } +} diff --git a/test/files/pos/t3076/T.scala b/test/files/pos/t3076/T.scala new file mode 100644 index 0000000000..b710a29343 --- /dev/null +++ b/test/files/pos/t3076/T.scala @@ -0,0 +1,2 @@ +trait T { private val z = new C1 } +private class C1 |