summaryrefslogblamecommitdiff
path: root/test/files/pos/bug532.scala
blob: bd6a4cae93250ff3b09f0fd79b6a8cb5586fdaae (plain) (tree)
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: TypedCode[()=>Unit] = () => {
      truc = truc + 6
    }
    ()
  }
}