summaryrefslogtreecommitdiff
path: root/test/files/run/scalapInvokedynamic.scala
blob: 670cf26662fb92bb0e86ac14e935f43d6558381e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
class C {
  def m = {
    val f = (x: String) => x.trim
    f(" H ae i  ")
  }
}

object Test extends App {
  val testClassesDir = System.getProperty("partest.output")
  scala.tools.scalap.Main.main(Array("-cp", testClassesDir, "C"))
}