aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/t7331c.scala
blob: ba6fbd01e7fe015bb293b5e622cd1ca65d3bfe71 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                  
                                             




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

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