aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t5277_2.scala
blob: 33e31da27328a4c0bb93e4e2b4777d3a34f4e0f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval

object Test extends dotty.runtime.LegacyApp {
  reify {
    def p(implicit i: Int) = print(i)
    implicit val v = 2

    println(p)
    println(p(1))
  }.eval
}