diff options
Diffstat (limited to 'test/files/pos/t1123.scala')
-rw-r--r-- | test/files/pos/t1123.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t1123.scala b/test/files/pos/t1123.scala new file mode 100644 index 0000000000..3812fa3eb3 --- /dev/null +++ b/test/files/pos/t1123.scala @@ -0,0 +1,11 @@ + +package test; +object Test { + class Editor { + private object extraListener { + def h : AnyRef = extraListener + } + def f = extraListener.h + } + def main(args : Array[String]) : Unit = (new Editor).f +} |