summaryrefslogblamecommitdiff
path: root/test/files/run/toolbox_console_reporter.scala
blob: a57dea38a896073dcdda1f34c28e75ca0b4c437b (plain) (tree)
1
2
3
4
5
6
7
8
                                       

                         
                                                                                              

                                                                                       
                                                                                     
                       






                                     
 
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.eval(reify{
  //  object Utils {
  //    @deprecated("test", "2.10.0")
  //    def foo { println("hello") }
  //  }
  //
  //  Utils.foo
  //})
}