blob: 278b3a993682c14eddcd4afe0e92adc9dacd3a24 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// $Id$
import scala.util.continuations._
object Test {
def main(args: Array[String]): Unit = {
val z = reset {
val f: (() => Int @cps[Int]) = () => 1
f()
}
println(z)
}
}
|