aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t6555.scala
blob: cc0e4d1bfadb130ca47867bced447cb01a6e1e07 (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:inline -d " + testOutput.path

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

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