diff options
Diffstat (limited to 'test/files/continuations-neg/t5314-type-error.check')
-rw-r--r-- | test/files/continuations-neg/t5314-type-error.check | 6 |
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 |