aboutsummaryrefslogblamecommitdiff
path: root/tests/pending/run/reify_magicsymbols.scala
blob: 54a6eab9cff014075f5485ae99f819bcc9418da5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                         
 
import scala.reflect.runtime.universe._

object Test extends App {
  println(typeOf[Any])
  println(typeOf[AnyVal])
  println(typeOf[AnyRef])
  println(typeOf[Null])
  println(typeOf[Nothing])
  println(typeOf[List[Any]])
  println(typeOf[List[AnyVal]])
  println(typeOf[List[AnyRef]])
  println(typeOf[List[Null]])
  println(typeOf[List[Nothing]])
  println(typeOf[{def foo(x: Int): Int}])
  println(typeOf[(Int*) => Unit])
  println(typeOf[(=> Int) => Unit])
}