summaryrefslogblamecommitdiff
path: root/test/files/run/t7331c.scala
blob: 75873afcd0ab0bc05719ebdddcd386f25901f034 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                       
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{currentMirror => cm}
import scala.tools.reflect.ToolBox

object Test extends App {
  val tb = cm.mkToolBox()
  val tree = tb.parse("class C").asInstanceOf[ClassDef]
  println(showRaw(tree))
  println(tree.pos)
  println(tree.impl.self.pos)
}