diff options
Diffstat (limited to 'test/files/continuations-neg/infer2.check')
-rw-r--r-- | test/files/continuations-neg/infer2.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/continuations-neg/infer2.check b/test/files/continuations-neg/infer2.check new file mode 100644 index 0000000000..59eb670bc3 --- /dev/null +++ b/test/files/continuations-neg/infer2.check @@ -0,0 +1,4 @@ +infer2.scala:14: error: illegal answer type modification: scala.util.continuations.cpsParam[String,Int] andThen scala.util.continuations.cpsParam[String,Int] + test { sym(); sym() } + ^ +one error found |