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