diff options
Diffstat (limited to 'test/files/continuations-run/trycatch0.scala')
-rw-r--r-- | test/files/continuations-run/trycatch0.scala | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/files/continuations-run/trycatch0.scala b/test/files/continuations-run/trycatch0.scala deleted file mode 100644 index 74a078b5ef..0000000000 --- a/test/files/continuations-run/trycatch0.scala +++ /dev/null @@ -1,25 +0,0 @@ -// $Id$ - -import scala.util.continuations._ - -object Test { - - def foo = try { - shift((k: Int=>Int) => k(7)) - } catch { - case ex => - 9 - } - - def bar = try { - 7 - } catch { - case ex => - shiftUnit0[Int,Int](9) - } - - def main(args: Array[String]): Unit = { - println(reset { foo + 3 }) - println(reset { bar + 3 }) - } -}
\ No newline at end of file |