summaryrefslogtreecommitdiff
path: root/test/files/run/reify_newimpl_47.scala
blob: bd1bd1fe652eb1f1bddecdd166ccd4353df260b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import scala.reflect.mirror._

object Test extends App {
  val outer = {
    val x = 2
    reify{x}
  }

  val code = reify{
    val x = 42
    outer.eval
  }

  println(code.eval)
}