diff options
Diffstat (limited to 'test/pending')
-rw-r--r-- | test/pending/continuations-run/function6.scala | 15 | ||||
-rw-r--r-- | test/pending/continuations-run/select.check | 2 | ||||
-rw-r--r-- | test/pending/continuations-run/select.scala | 21 |
3 files changed, 0 insertions, 38 deletions
diff --git a/test/pending/continuations-run/function6.scala b/test/pending/continuations-run/function6.scala deleted file mode 100644 index f1296ae410..0000000000 --- a/test/pending/continuations-run/function6.scala +++ /dev/null @@ -1,15 +0,0 @@ -// $Id$ - -import scala.util.continuations._ - - -object Test { - - def main(args: Array[String]): Any = { - - val g: PartialFunction[Int, Int @cps[Int,Int]] = { case x => 7 } - - println(reset(g(2))) - } - -}
\ No newline at end of file diff --git a/test/pending/continuations-run/select.check b/test/pending/continuations-run/select.check deleted file mode 100644 index 620ce84217..0000000000 --- a/test/pending/continuations-run/select.check +++ /dev/null @@ -1,2 +0,0 @@ -8 -8
\ No newline at end of file diff --git a/test/pending/continuations-run/select.scala b/test/pending/continuations-run/select.scala deleted file mode 100644 index faf5842329..0000000000 --- a/test/pending/continuations-run/select.scala +++ /dev/null @@ -1,21 +0,0 @@ -// $Id$ - -import scala.util.continuations._ - - -object Test { - - class Bla { - val x = 8 - } - - def bla = shift { k:(Bla=>Bla) => k(new Bla) } - - // TODO: check whether this also applies to a::shift { k => ... } - - def main(args: Array[String]) = { - println(reset(bla).x) - println(reset(bla.x)) - } - -} |