aboutsummaryrefslogblamecommitdiff
path: root/tests/disabled/macro/run/reify_newimpl_14.scala
blob: af2c7f136231f15f52612e643c6a51cfd5e15dcb (plain) (tree)
1
2
3
4
5



                                       
                                             









                                  
 
import scala.reflect.runtime.universe._
import scala.tools.reflect.ToolBox
import scala.tools.reflect.Eval

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

    new C[Int]
  }
}