summaryrefslogblamecommitdiff
path: root/test/files/continuations-run/function5.scala
blob: a83eb80d08d011982025495aa2562d60cb625c71 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                 
 
                                         
 
                                        
 

                       
 
 
// $Id$

import scala.util.continuations._


object Test {

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

    val g: () => Int @cps[Int] = () => 7

    println(reset(g()))
  }

}