summaryrefslogtreecommitdiff
path: root/test/files/neg/constructor-prefix-error.check
diff options
context:
space:
mode:
authorNada Amin <namin@alum.mit.edu>2012-02-23 15:25:50 +0100
committerNada Amin <namin@alum.mit.edu>2012-02-23 15:25:50 +0100
commit5052b58089b711e7ddc481b0aa1989b1dc9f2bfa (patch)
treef8f16a04fc2524498eb8df78d1d2aae1b23493e4 /test/files/neg/constructor-prefix-error.check
parentd5006b118f6ad1bf10ed35491cd0bda05fc88972 (diff)
downloadscala-5052b58089b711e7ddc481b0aa1989b1dc9f2bfa.tar.gz
scala-5052b58089b711e7ddc481b0aa1989b1dc9f2bfa.tar.bz2
scala-5052b58089b711e7ddc481b0aa1989b1dc9f2bfa.zip
Add test for ConstructorPrefixError.
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