diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-04-22 22:02:34 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-04-23 17:55:35 +0200 |
commit | d4b8d8deefcdd9144ef39d1456b03aa693f93ff7 (patch) | |
tree | f634abc7f093d2154d583f1b268c4c7c3ed20001 /test/files/neg/interop_erasuretags_arenot_classmanifests.scala | |
parent | f54e5c8bbdd719b5c9375c64c2f66b841984456e (diff) | |
download | scala-d4b8d8deefcdd9144ef39d1456b03aa693f93ff7.tar.gz scala-d4b8d8deefcdd9144ef39d1456b03aa693f93ff7.tar.bz2 scala-d4b8d8deefcdd9144ef39d1456b03aa693f93ff7.zip |
interop between manifests and tags
Diffstat (limited to 'test/files/neg/interop_erasuretags_arenot_classmanifests.scala')
-rw-r--r-- | test/files/neg/interop_erasuretags_arenot_classmanifests.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/interop_erasuretags_arenot_classmanifests.scala b/test/files/neg/interop_erasuretags_arenot_classmanifests.scala new file mode 100644 index 0000000000..cf7d1ac257 --- /dev/null +++ b/test/files/neg/interop_erasuretags_arenot_classmanifests.scala @@ -0,0 +1,9 @@ +object Test extends App { + def erasureTagIsnotClassManifest[T: ErasureTag] = { + println(classManifest[T]) + } + + erasureTagIsnotClassManifest[Int] + erasureTagIsnotClassManifest[String] + erasureTagIsnotClassManifest[Array[Int]] +}
\ No newline at end of file |