summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-qmarkqmarkqmark.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-qmarkqmarkqmark.scala')
-rw-r--r--test/files/neg/macro-qmarkqmarkqmark.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/neg/macro-qmarkqmarkqmark.scala b/test/files/neg/macro-qmarkqmarkqmark.scala
new file mode 100644
index 0000000000..c8d8550fd8
--- /dev/null
+++ b/test/files/neg/macro-qmarkqmarkqmark.scala
@@ -0,0 +1,13 @@
+import language.experimental.macros
+
+object Macros {
+ def foo1 = macro ???
+ foo1
+
+ def foo2(x: Int) = macro ???
+ foo2
+ foo2(1)
+
+ def foo3[T] = macro ???
+ foo3[Int]
+} \ No newline at end of file