summaryrefslogtreecommitdiff
path: root/test/files/continuations-neg/t5314-type-error.check
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-09-29 17:06:06 +0200
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-09-29 17:06:06 +0200
commitbe49f36154efa78c3dcbeba394aa6ec2b5e764ec (patch)
treeae83e7ed20574b2ece619f650125d841a2f1a386 /test/files/continuations-neg/t5314-type-error.check
parentac311c4f7be3353c8f13396d4c7d21f2c0887005 (diff)
parente46ceca8a0166a459cb336da83ae71afe69dc025 (diff)
downloadscala-be49f36154efa78c3dcbeba394aa6ec2b5e764ec.tar.gz
scala-be49f36154efa78c3dcbeba394aa6ec2b5e764ec.tar.bz2
scala-be49f36154efa78c3dcbeba394aa6ec2b5e764ec.zip
Merge remote-tracking branch 'scala/2.10.x' into 2.10.0-wip
Diffstat (limited to 'test/files/continuations-neg/t5314-type-error.check')
-rw-r--r--test/files/continuations-neg/t5314-type-error.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/continuations-neg/t5314-type-error.check b/test/files/continuations-neg/t5314-type-error.check
new file mode 100644
index 0000000000..1f4e46a7f2
--- /dev/null
+++ b/test/files/continuations-neg/t5314-type-error.check
@@ -0,0 +1,6 @@
+t5314-type-error.scala:7: error: type mismatch;
+ found : Int @util.continuations.cps[Int]
+ required: Int @util.continuations.cps[String]
+ def bar(x:Int): Int @cps[String] = return foo(x)
+ ^
+one error found