diff options
Diffstat (limited to 'tests/untried/pos/private-types-after-typer.scala')
-rw-r--r-- | tests/untried/pos/private-types-after-typer.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/pos/private-types-after-typer.scala b/tests/untried/pos/private-types-after-typer.scala new file mode 100644 index 000000000..5c20cac2a --- /dev/null +++ b/tests/untried/pos/private-types-after-typer.scala @@ -0,0 +1,9 @@ +// Testing that the type of the outer accessor in O2 +// doesn't crash the compiler over private type escaping scope. +trait T { + class C { + private object O1 { + object O2 + } + } +} |