summaryrefslogtreecommitdiff
path: root/test/files/neg/t8325-b.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-05-07 13:48:20 +0200
committerJason Zaugg <jzaugg@gmail.com>2014-05-07 13:48:20 +0200
commite735cb3c402c01149c170ea1e6906a7455e15a0b (patch)
tree7186be7ac117d1f6303ebde71a4ed14142057515 /test/files/neg/t8325-b.check
parent251616a107f4255203e318c9f6342f774d25e66d (diff)
parentb0fe13505faf7c93093b4e9dc2813259e2f70094 (diff)
downloadscala-e735cb3c402c01149c170ea1e6906a7455e15a0b.tar.gz
scala-e735cb3c402c01149c170ea1e6906a7455e15a0b.tar.bz2
scala-e735cb3c402c01149c170ea1e6906a7455e15a0b.zip
Merge pull request #3576 from som-snytt/issue/8325
SI-8325 Accept infix star type outside patterns
Diffstat (limited to 'test/files/neg/t8325-b.check')
-rw-r--r--test/files/neg/t8325-b.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t8325-b.check b/test/files/neg/t8325-b.check
new file mode 100644
index 0000000000..ec80826dc0
--- /dev/null
+++ b/test/files/neg/t8325-b.check
@@ -0,0 +1,10 @@
+t8325-b.scala:3: error: Unmatched closing brace '}' ignored here
+ def k(is: Int*} = ???
+ ^
+t8325-b.scala:3: error: ';' expected but '=' found.
+ def k(is: Int*} = ???
+ ^
+t8325-b.scala:4: error: eof expected but '}' found.
+}
+^
+three errors found