summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-nontree.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-nontree.check')
-rw-r--r--test/files/neg/macro-nontree.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/macro-nontree.check b/test/files/neg/macro-nontree.check
new file mode 100644
index 0000000000..a1c7139580
--- /dev/null
+++ b/test/files/neg/macro-nontree.check
@@ -0,0 +1,6 @@
+Macros_1.scala:2: error: type mismatch;
+ found : Int(2)
+ required: _context.Tree
+ def macro foo = 2
+ ^
+one error found