summaryrefslogtreecommitdiff
path: root/test/files/continuations-neg/t2285.scala
blob: f3c7f4c89c0dc887d2dbd203247a70240321d64d (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 }

}