summaryrefslogblamecommitdiff
path: root/test/files/run/t4024.scala
blob: ef768beb99aa7632908988a524bcb125e656e8ad (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")
}