summaryrefslogtreecommitdiff
path: root/test/files/run/typecheck/Test_2.scala
blob: 01bf5198cccb202921cdcefdbe10f943f92c10a8 (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 App {
  Macros.foo

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