summaryrefslogtreecommitdiff
path: root/test/files/run/reify_newimpl_26.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reify_newimpl_26.check')
-rw-r--r--test/files/run/reify_newimpl_26.check23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/files/run/reify_newimpl_26.check b/test/files/run/reify_newimpl_26.check
new file mode 100644
index 0000000000..68b0ee8c99
--- /dev/null
+++ b/test/files/run/reify_newimpl_26.check
@@ -0,0 +1,23 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> import scala.reflect.mirror._
+import scala.reflect.mirror._
+
+scala> def foo[T]{
+ val tt = implicitly[TypeTag[List[T]]]
+ println(tt)
+}
+<console>:11: free type: Ident(newTypeName("T")) defined by foo in <console>:10:16
+ val tt = implicitly[TypeTag[List[T]]]
+ ^
+foo: [T]=> Unit
+
+scala> foo[Int]
+GroundTypeTag[List[T]]
+
+scala>
+
+scala>