summaryrefslogtreecommitdiff
path: root/test/files/run/reify_typeof.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reify_typeof.check')
-rw-r--r--test/files/run/reify_typeof.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/reify_typeof.check b/test/files/run/reify_typeof.check
new file mode 100644
index 0000000000..670f76faa4
--- /dev/null
+++ b/test/files/run/reify_typeof.check
@@ -0,0 +1,10 @@
+Expr[Unit]({
+ val ru = `package`.universe;
+ val tpe1: ru.Type = ru.typeOf[`package`.List[Int]];
+ Predef.println(tpe1);
+ val tpe2: ru.Type = ru.typeOf(List.apply(1, 2, 3));
+ Predef.println(tpe2)
+})
+scala.List[Int]
+List[Int]
+()