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