summaryrefslogblamecommitdiff
path: root/test/files/continuations-run/t3223.scala
blob: 4e510178e6ddc1b3d275e713d55ca7b3ba546421 (plain) (tree)


















                                 
import scala.util.continuations._
object Test {

  def foo(x:Int) = {
    try {
      throw new Exception
      shiftUnit0[Int,Int](7)
    } catch {
      case ex =>
        val g = (a:Int)=>a
        9
    }
  }

  def main(args: Array[String]) {
    println(reset(foo(0)))
  }

}