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

object Test extends dotty.runtime.LegacyApp {
  object C {
    type T = Int
    val c = C
    val code = reify {
      List[c.T](2)
    }
    println(code.eval)
  }

  C
}