blob: c5b788550e2282c1a0d5b25c4f411990541277ee (
plain) (
tree)
|
|
import scala.reflect.runtime.universe._
object Test extends App {
// todo. cannot test this unfortunately, because ConsoleFrontEnd grabs Console.out too early
// todo. and isn't affected by Console.setOut employed by partest to intercept output
//val toolbox = mkToolBox(frontEnd = mkConsoleFrontEnd(), options = "-deprecation")
//toolbox.runExpr(reify{
// object Utils {
// @deprecated("test", "2.10.0")
// def foo { println("hello") }
// }
//
// Utils.foo
//})
}
|