summaryrefslogtreecommitdiff
path: root/test/files/neg/constructor-prefix-error.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/constructor-prefix-error.check')
-rw-r--r--test/files/neg/constructor-prefix-error.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/constructor-prefix-error.check b/test/files/neg/constructor-prefix-error.check
new file mode 100644
index 0000000000..87e948881b
--- /dev/null
+++ b/test/files/neg/constructor-prefix-error.check
@@ -0,0 +1,4 @@
+constructor-prefix-error.scala:6: error: Outer is not a legal prefix for a constructor
+ val x = new Outer#Inner
+ ^
+one error found