summaryrefslogtreecommitdiff
path: root/test/continuations/neg/lazy.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/continuations/neg/lazy.check')
-rw-r--r--test/continuations/neg/lazy.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/continuations/neg/lazy.check b/test/continuations/neg/lazy.check
new file mode 100644
index 0000000000..bfa44c59a4
--- /dev/null
+++ b/test/continuations/neg/lazy.check
@@ -0,0 +1,6 @@
+lazy.scala:5: error: type mismatch;
+ found : Unit @scala.util.continuations.cpsParam[Unit,Unit]
+ required: Unit
+ def foo = {
+ ^
+one error found