blob: 3b39722e3a2f7125e14e7aaa3676460b8e64ec5e (
plain) (
tree)
|
|
// $Id$
import scala.util.continuations._
object Test {
def main(args: Array[String]): Any = {
val f = () => shift { k: (Int=>Int) => k(7) }
val g: () => Int @cps[Int] = f
println(reset(g()))
}
}
|