aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/t1141.scala
blob: ad22d26c07548faf673c3bafda9520785127954d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                     
                                             





                                                    
import scala.language.reflectiveCalls

object Test extends dotty.runtime.LegacyApp {
  val foo = new {
    def apply(args : String*) = args foreach println
  }

  foo("var", "args")
}