aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/toolbox_parse_package.scala
blob: a4ba71aaa0da2cb4617e4f1fd24df4086c486b16 (plain) (blame)
1
2
3
4
5
6
7
8
9
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()
  println(toolbox.parse("package foo { object bar }"))
}