summaryrefslogtreecommitdiff
path: root/test/files/run/reify_newimpl_25.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reify_newimpl_25.check')
-rw-r--r--test/files/run/reify_newimpl_25.check21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/files/run/reify_newimpl_25.check b/test/files/run/reify_newimpl_25.check
new file mode 100644
index 0000000000..31ece627e1
--- /dev/null
+++ b/test/files/run/reify_newimpl_25.check
@@ -0,0 +1,21 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> import scala.reflect.mirror._
+import scala.reflect.mirror._
+
+scala> {
+ val x = "2"
+ val tt = implicitly[TypeTag[x.type]]
+ println(tt)
+}
+<console>:13: free term: Ident(newTermName("x")) defined by res0 in <console>:12:21
+ val tt = implicitly[TypeTag[x.type]]
+ ^
+GroundTypeTag[x.type]
+
+scala>
+
+scala>