aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/toolbox_default_reporter_is_silent.scala
blob: 6947207210378cfd4ffed03cc204252894c326c0 (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.reflect.runtime.{universe => ru}
import scala.reflect.runtime.{currentMirror => cm}
import scala.tools.reflect.ToolBox

object Test extends dotty.runtime.LegacyApp {
  val toolbox = cm.mkToolBox()
  toolbox.eval(reify{
    object Utils {
      @deprecated("test", "2.10.0")
      def foo: Unit = { println("hello") }
    }

    Utils.foo
  }.tree)
}