diff options
Diffstat (limited to 'tests/pos')
-rw-r--r-- | tests/pos/escapingRefs.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/pos/escapingRefs.scala b/tests/pos/escapingRefs.scala new file mode 100644 index 000000000..a7960bee4 --- /dev/null +++ b/tests/pos/escapingRefs.scala @@ -0,0 +1,12 @@ +class Outer { + class Inner +} + +object Test { + def test = { + val a: Outer#Inner = { + val o = new Outer + new o.Inner + } + } +} |