summaryrefslogtreecommitdiff
path: root/test/files/continuations-neg/t2285.scala
blob: b906dc455a3010662a3d31510a7ad4a7ee9e950d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// $Id$

import scala.util.continuations._

object Test {

  def bar() = shift { k: (String => String) => k("1") }
 
  def foo() = reset { bar(); 7 }
        
}