diff options
Diffstat (limited to 'tests/pos/t3174.scala')
-rwxr-xr-x | tests/pos/t3174.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/pos/t3174.scala b/tests/pos/t3174.scala new file mode 100755 index 000000000..8d9b2578d --- /dev/null +++ b/tests/pos/t3174.scala @@ -0,0 +1,14 @@ +object test { + def method(): Unit = { + class Foo extends AnyRef { + object Color { + object Blue + } + + class Board { + val grid = Color.Blue + } + } + new Foo + } + } |