summaryrefslogtreecommitdiff
path: root/test/files/neg/altherr2.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/altherr2.check')
-rw-r--r--test/files/neg/altherr2.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/altherr2.check b/test/files/neg/altherr2.check
new file mode 100644
index 0000000000..53eeb2c84c
--- /dev/null
+++ b/test/files/neg/altherr2.check
@@ -0,0 +1,4 @@
+altherr2.scala:5: ';' expected but '[' found.
+ foo()[Int];
+ ^
+one error found