summaryrefslogtreecommitdiff
path: root/test/disabled/pos/code.scala
blob: 707dda3e3b66b49c93f276659b0b14de6a545b83 (plain) (blame)
1
2
3
4
5
6
7
object Test extends App {
  def foo[T](ys: List[T]) = {
    val fun: reflect.Code[Int => Int] = x => x + ys.length
    fun
  }
  println(foo(List(2)).tree)
}