summaryrefslogtreecommitdiff
path: root/test/files/run/t949.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t949.scala')
-rw-r--r--test/files/run/t949.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/run/t949.scala b/test/files/run/t949.scala
new file mode 100644
index 0000000000..a9c5d08c50
--- /dev/null
+++ b/test/files/run/t949.scala
@@ -0,0 +1,14 @@
+object Test extends App {
+
+ private def f = new T { val state = State.A }
+
+ private object State extends Enumeration {
+ val A, B = Value
+ }
+
+ f
+}
+
+trait T {
+}
+