summaryrefslogblamecommitdiff
path: root/test/files/run/t4024.scala
blob: 4ab383ebc33016a12867c1f4539961541fe20afc (plain) (tree)
1
2
3
4
5
6
7
8
9
                         







                                                       
object Test extends App {

  val x = "abc"

  val m = x.getClass.getMethod("toString")

  assert(m.invoke(x, (Nil: List[AnyRef]): _*) == "abc")
}