diff options
Diffstat (limited to 'test/files/pos/private-types-after-typer.scala')
-rw-r--r-- | test/files/pos/private-types-after-typer.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/pos/private-types-after-typer.scala b/test/files/pos/private-types-after-typer.scala new file mode 100644 index 0000000000..79ef934063 --- /dev/null +++ b/test/files/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 + } + } +}
\ No newline at end of file |