summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-qmarkqmarkqmark.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-05-05 15:51:56 +0200
committerEugene Burmako <xeno.by@gmail.com>2013-05-12 09:19:51 +0200
commitbc1071580203eda3f90433d930739f55a696a131 (patch)
treee03e68137a005d1a8b46cf735139f6c9defd9734 /test/files/neg/macro-qmarkqmarkqmark.check
parentaa7568e8161552952ae16e0a5a79ce3ea517abe3 (diff)
downloadscala-bc1071580203eda3f90433d930739f55a696a131.tar.gz
scala-bc1071580203eda3f90433d930739f55a696a131.tar.bz2
scala-bc1071580203eda3f90433d930739f55a696a131.zip
easy way of writing not implemented macros
Even though it's easy to mark regular method bodies as stubs (using ???), there's no simple way of doing the same for macro methods. This patch fixes the inconvenience.
Diffstat (limited to 'test/files/neg/macro-qmarkqmarkqmark.check')
-rw-r--r--test/files/neg/macro-qmarkqmarkqmark.check13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/neg/macro-qmarkqmarkqmark.check b/test/files/neg/macro-qmarkqmarkqmark.check
new file mode 100644
index 0000000000..afd49e7d90
--- /dev/null
+++ b/test/files/neg/macro-qmarkqmarkqmark.check
@@ -0,0 +1,13 @@
+macro-qmarkqmarkqmark.scala:5: error: macro implementation is missing
+ foo1
+ ^
+macro-qmarkqmarkqmark.scala:8: error: macros cannot be partially applied
+ foo2
+ ^
+macro-qmarkqmarkqmark.scala:9: error: macro implementation is missing
+ foo2(1)
+ ^
+macro-qmarkqmarkqmark.scala:12: error: macro implementation is missing
+ foo3[Int]
+ ^
+four errors found