summaryrefslogtreecommitdiff
path: root/test/files/run/typetags_symbolof_x.scala
blob: 333c4e7da45c23abb4dd911f19ec173eaeca91d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import scala.reflect.runtime.universe._

class C
object C

object Test extends App {
  type T = Int
  type Id[X] = X
  println(symbolOf[Int])
  println(symbolOf[C.type])
  println(symbolOf[T])
  println(symbolOf[Id[_]])
  println(symbolOf[Nothing])
  println(symbolOf[Null])
}