diff options
Diffstat (limited to 'test/files/continuations-run/match1.scala')
-rw-r--r-- | test/files/continuations-run/match1.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/continuations-run/match1.scala b/test/files/continuations-run/match1.scala index 62d639ee72..b89fb706b0 100644 --- a/test/files/continuations-run/match1.scala +++ b/test/files/continuations-run/match1.scala @@ -4,15 +4,15 @@ import scala.util.continuations._ object Test { - + def test(x:Int) = x match { case 7 => shift { k: (Int=>Int) => k(k(k(x))) } case _ => x } - + def main(args: Array[String]): Unit = { println(reset(1 + test(7))) println(reset(1 + test(8))) } - + } |