aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t7877.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t7877.check')
-rw-r--r--tests/untried/neg/t7877.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/neg/t7877.check b/tests/untried/neg/t7877.check
new file mode 100644
index 000000000..7f7f83246
--- /dev/null
+++ b/tests/untried/neg/t7877.check
@@ -0,0 +1,7 @@
+t7877.scala:6: error: not found: value Y
+ case Y() => () // not allowed
+ ^
+t7877.scala:7: error: OnNext[Any] does not take parameters
+ case OnNext[Any]() => () // should *not* be allowed, but was.
+ ^
+two errors found