aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/reify_newimpl_01.scala
blob: 1a5f96b539ba999657c139092858069c4471bbc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import scala.reflect.runtime.universe._
import scala.tools.reflect.ToolBox
import scala.tools.reflect.Eval

object Test extends dotty.runtime.LegacyApp {
  {
    val x = 2
    val code = reify {
      x
    }
    println(code.eval)
  }
}