summaryrefslogtreecommitdiff
path: root/test/files/continuations-neg/lazy.check
diff options
context:
space:
mode:
authorTiark Rompf <tiark.rompf@epfl.ch>2010-03-29 09:55:44 +0000
committerTiark Rompf <tiark.rompf@epfl.ch>2010-03-29 09:55:44 +0000
commitf500aeb1fda09b3d0c142da1307694ab4dacc883 (patch)
treecbcc5857c4222fe11e5eb8bb81379d45069c9bbe /test/files/continuations-neg/lazy.check
parent59da69b707e2e79fbaad4aae7fc347ca1b66a34b (diff)
downloadscala-f500aeb1fda09b3d0c142da1307694ab4dacc883.tar.gz
scala-f500aeb1fda09b3d0c142da1307694ab4dacc883.tar.bz2
scala-f500aeb1fda09b3d0c142da1307694ab4dacc883.zip
closes 2864.
Diffstat (limited to 'test/files/continuations-neg/lazy.check')
-rw-r--r--test/files/continuations-neg/lazy.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/continuations-neg/lazy.check b/test/files/continuations-neg/lazy.check
new file mode 100644
index 0000000000..bfa44c59a4
--- /dev/null
+++ b/test/files/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