aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/typecheck/Test_2.scala
blob: b79cc3b315dae3174abfbeac1f9d80140f665957 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}
import scala.tools.reflect.ToolBox

object Test extends dotty.runtime.LegacyApp {
  Macros.foo

  val tb = cm.mkToolBox()
  tb.typecheck(q"class C")
}