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