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