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

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

  new C
}