summaryrefslogtreecommitdiff
path: root/test/pending/run/reify_newimpl_07.scala
blob: 13ca6bda8b763d2e7b692ff5665606e5e8ed3f3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
  }
}