diff options
Diffstat (limited to 'test/files/run/t9920d.scala')
-rw-r--r-- | test/files/run/t9920d.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/run/t9920d.scala b/test/files/run/t9920d.scala new file mode 100644 index 0000000000..debc99e199 --- /dev/null +++ b/test/files/run/t9920d.scala @@ -0,0 +1,14 @@ +class C { object O } +trait T { _: C => + def foo { + class D { O } + new D + } +} + + +object Test extends C with T { + def main(args: Array[String]): Unit = { + foo + } +} |