summaryrefslogblamecommitdiff
path: root/test/files/pos/bug532.scala
blob: 82da9c817f59b0e956e869a414d3bddc55562fbd (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 = 6
    }
    ()
  }
}