summaryrefslogblamecommitdiff
path: root/test/pending/run/t5427a.scala
blob: f7cd05158dbdd9d64958ca7a7de7363c6773b47e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                       








                                                    
import scala.reflect.runtime.universe._

object Foo { val bar = 2 }

object Test extends App {
  val tpe = getType(Foo)
  val bar = tpe.nonPrivateMember(newTermName("bar"))
  val value = getValue(Foo, bar)
  println(value)
}