summaryrefslogtreecommitdiff
path: root/test/pending/run/reify_newimpl_53.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/reify_newimpl_53.scala')
-rw-r--r--test/pending/run/reify_newimpl_53.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/pending/run/reify_newimpl_53.scala b/test/pending/run/reify_newimpl_53.scala
new file mode 100644
index 0000000000..26645dea6a
--- /dev/null
+++ b/test/pending/run/reify_newimpl_53.scala
@@ -0,0 +1,15 @@
+import scala.reflect.mirror._
+
+object Test extends App {
+ class C[T >: Null] {
+ val code = reify{
+ val tt = implicitly[TypeTag[T]]
+ println("mah typetag is: %s".format(tt))
+ }
+ println(freeTypes(code))
+ val T = freeTypes(code)(0)
+ mkToolBox().runExpr(code, Map(T -> definitions.StringClass.asType))
+ }
+
+ new C[String]
+} \ No newline at end of file