diff options
Diffstat (limited to 'tests/pos')
-rw-r--r-- | tests/pos/escapingRefs.scala | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/pos/escapingRefs.scala b/tests/pos/escapingRefs.scala index a7960bee4..c18720764 100644 --- a/tests/pos/escapingRefs.scala +++ b/tests/pos/escapingRefs.scala @@ -1,5 +1,7 @@ class Outer { - class Inner + class Inner { + class Inner2 + } } object Test { @@ -8,5 +10,11 @@ object Test { val o = new Outer new o.Inner } + + val b: Outer#Inner#Inner2 = { + val o = new Outer + val i = new o.Inner + new i.Inner2 + } } } |