aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/delambdafy_t6555.scala
blob: a1dcfe790c3b2ca3b45ce5ee370f2601dca14eda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import scala.tools.partest._
import java.io.{Console => _, _}

object Test extends DirectTest {

  override def extraSettings: String = "-usejavacp -Xprint:specialize -Ydelambdafy:method -d " + testOutput.path

  override def code = "class Foo { val f = (param: Int) => param } "

  override def show(): Unit = {
    Console.withErr(System.out) {
      compile()
    }
  }
}