diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-07-02 13:51:06 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-07-03 13:31:36 +0200 |
commit | 2ad2ef9d129b209edb9377da0899f5f35b674197 (patch) | |
tree | 821e687fa2f475eafd0871cd8b55c21fdf5404f1 /test/files/run/reify_magicsymbols.scala | |
parent | bc2e6fe8bf20b2aa985ea78a2c610ac33497da38 (diff) | |
download | scala-2ad2ef9d129b209edb9377da0899f5f35b674197.tar.gz scala-2ad2ef9d129b209edb9377da0899f5f35b674197.tar.bz2 scala-2ad2ef9d129b209edb9377da0899f5f35b674197.zip |
SI-5990 u.build now correctly invokes missing symbol hooks
Diffstat (limited to 'test/files/run/reify_magicsymbols.scala')
-rw-r--r-- | test/files/run/reify_magicsymbols.scala | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/files/run/reify_magicsymbols.scala b/test/files/run/reify_magicsymbols.scala new file mode 100644 index 0000000000..256ecbea33 --- /dev/null +++ b/test/files/run/reify_magicsymbols.scala @@ -0,0 +1,17 @@ +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]) +}
\ No newline at end of file |