summaryrefslogtreecommitdiff
path: root/test/pending/continuations-run/function6.scala
blob: f1296ae410d3e1b808ea3a97d029455125e5feef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// $Id$

import scala.util.continuations._


object Test {

  def main(args: Array[String]): Any = {

    val g: PartialFunction[Int, Int @cps[Int,Int]] = { case x => 7 }

    println(reset(g(2)))
  }

}