diff options
Diffstat (limited to 'test-nsc/files/pos/bug318.scala')
-rwxr-xr-x | test-nsc/files/pos/bug318.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-nsc/files/pos/bug318.scala b/test-nsc/files/pos/bug318.scala new file mode 100755 index 0000000000..1b9fa4a4b3 --- /dev/null +++ b/test-nsc/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 + } +} |