summaryrefslogtreecommitdiff
path: root/test/files/run/t6992/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6992/Test_2.scala')
-rw-r--r--test/files/run/t6992/Test_2.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/t6992/Test_2.scala b/test/files/run/t6992/Test_2.scala
new file mode 100644
index 0000000000..05282d6f5b
--- /dev/null
+++ b/test/files/run/t6992/Test_2.scala
@@ -0,0 +1,12 @@
+import scala.language.reflectiveCalls
+
+object Test extends App {
+ val foo = Macros.foo("T")
+ println(scala.reflect.runtime.universe.weakTypeOf[foo.T].typeSymbol.typeSignature)
+
+ val bar = Macros.bar("test")
+ println(bar.test)
+
+ val baz = Macros.baz("test")
+ println(baz.test)
+} \ No newline at end of file