diff options
Diffstat (limited to 'test/files/run/bug949.scala')
-rwxr-xr-x | test/files/run/bug949.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/run/bug949.scala b/test/files/run/bug949.scala new file mode 100755 index 0000000000..9cce7bc6e6 --- /dev/null +++ b/test/files/run/bug949.scala @@ -0,0 +1,14 @@ +object Test extends Application { + + def f = new T { val state = State.A } + + private object State extends Enumeration { + val A, B = Value + } + + f +} + +trait T { +} + |