diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/bug318.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/bug318.scala b/test/files/pos/bug318.scala new file mode 100644 index 0000000000..1b9fa4a4b3 --- /dev/null +++ b/test/files/pos/bug318.scala @@ -0,0 +1,11 @@ +// $Id$ + +object Test { + def fun: Int = { + object o { + def a: Int = 1; + class C { def b: Int = a; } + } + 0 + } +} |