blob: 6ef0d98b90636ea16afc6a0f93656e381807243c (
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 = f
println(reset(g()))
}
}
|