diff options
Diffstat (limited to 'test/pending')
-rw-r--r-- | test/pending/continuations-run/t2864.scala | 18 | ||||
-rw-r--r-- | test/pending/continuations-run/t2934.scala | 14 |
2 files changed, 0 insertions, 32 deletions
diff --git a/test/pending/continuations-run/t2864.scala b/test/pending/continuations-run/t2864.scala deleted file mode 100644 index 291e739332..0000000000 --- a/test/pending/continuations-run/t2864.scala +++ /dev/null @@ -1,18 +0,0 @@ -// $Id$ - -import scala.util.continuations._ - - - -object Test { - - def double[B](n : Int)(k : Int => B) : B = k(n * 2) - - def main(args : Array[String]) { - reset { - val result1 = shift(double[Unit](100)) - val result2 = shift(double[Unit](result1)) - println(result2) - } - } -}
\ No newline at end of file diff --git a/test/pending/continuations-run/t2934.scala b/test/pending/continuations-run/t2934.scala deleted file mode 100644 index 6089355bcf..0000000000 --- a/test/pending/continuations-run/t2934.scala +++ /dev/null @@ -1,14 +0,0 @@ -// $Id$ - -import scala.util.continuations._ - - -object Test { - - def main(args : Array[String]) { - println(reset { - val x = shift(List(1,2,3).flatMap[Int, List[Int]]) - List(x + 2) - }) - } -}
\ No newline at end of file |