summaryrefslogtreecommitdiff
path: root/test/files/neg/constructor-prefix-error.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/constructor-prefix-error.scala')
-rw-r--r--test/files/neg/constructor-prefix-error.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/constructor-prefix-error.scala b/test/files/neg/constructor-prefix-error.scala
new file mode 100644
index 0000000000..c2accea284
--- /dev/null
+++ b/test/files/neg/constructor-prefix-error.scala
@@ -0,0 +1,7 @@
+class Outer {
+ class Inner
+}
+
+object Test {
+ val x = new Outer#Inner
+}