diff options
Diffstat (limited to 'tests/untried/pos/t318.scala')
-rw-r--r-- | tests/untried/pos/t318.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/pos/t318.scala b/tests/untried/pos/t318.scala new file mode 100644 index 000000000..dbe0e0528 --- /dev/null +++ b/tests/untried/pos/t318.scala @@ -0,0 +1,9 @@ +object Test { + def fun: Int = { + object o { + def a: Int = 1; + class C { def b: Int = a; } + } + 0 + } +} |