summaryrefslogtreecommitdiff
path: root/test/files/pos/bug531.scala
blob: 858a46d374f75ff971da499b27af7539097d04e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
object Test extends Application {
  import scala.reflect._;
  def titi = {
    var truc = 0
    val tata: TypedCode[()=>Unit] = () => {
      truc = 6
    }
    ()
  }
}