From 57b616c1a7adc78dd46cb3ae5545e312c11e69be Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 27 Jan 2015 11:38:50 +0100 Subject: New tests --- tests/pos/t3174.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tests/pos/t3174.scala (limited to 'tests/pos/t3174.scala') 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 + } + } -- cgit v1.2.3