summaryrefslogtreecommitdiff
path: root/test/files/continuations-run/t5314.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/continuations-run/t5314.check')
-rw-r--r--test/files/continuations-run/t5314.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/continuations-run/t5314.check b/test/files/continuations-run/t5314.check
index 4b35d8e6d0..61f5b25dc7 100644
--- a/test/files/continuations-run/t5314.check
+++ b/test/files/continuations-run/t5314.check
@@ -1,3 +1,9 @@
+t5314.scala:34: warning: expression 7 is cps-transformed unexpectedly
+ def bar3(x:Int): Int @cps[Int] = { foo2(x); if (x == 7) return 7 else return foo2(x) }
+ ^
+t5314.scala:35: warning: expression 7 is cps-transformed unexpectedly
+ def bar4(x:Int): Int @cps[Int] = { foo2(x); if (x == 7) return 7 else foo2(x) }
+ ^
7
7
7