summaryrefslogtreecommitdiff
path: root/test/files/run/reify_newimpl_06.scala
blob: 257b54167ad41a959b13be5306b105c1574f4799 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import scala.reflect.mirror._

object Test extends App {
  class C(val y: Int) {
    val code = reify {
      reify{y}.eval
    }
  }

  println(new C(2).code.eval)
}