summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-noncompilertree.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-02-17 16:28:22 -0800
committerPaul Phillips <paulp@improving.org>2012-02-17 16:28:22 -0800
commit2fe570291a41e2701f3118bc0f643a9fa60c476b (patch)
tree510b348b9c85a69314e0092a3160d948090a53bc /test/files/neg/macro-noncompilertree.check
parent8d5ce774a869814d802c54b180f13aeffdeceba0 (diff)
parente9926a5207aadcfe3831b51b1cd6164757278013 (diff)
downloadscala-2fe570291a41e2701f3118bc0f643a9fa60c476b.tar.gz
scala-2fe570291a41e2701f3118bc0f643a9fa60c476b.tar.bz2
scala-2fe570291a41e2701f3118bc0f643a9fa60c476b.zip
Merge remote-tracking branch 'scalamacros/pullrequest/macros' into develop
Diffstat (limited to 'test/files/neg/macro-noncompilertree.check')
-rw-r--r--test/files/neg/macro-noncompilertree.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/macro-noncompilertree.check b/test/files/neg/macro-noncompilertree.check
new file mode 100644
index 0000000000..616765a39e
--- /dev/null
+++ b/test/files/neg/macro-noncompilertree.check
@@ -0,0 +1,6 @@
+Macros_1.scala:2: error: type mismatch;
+ found : reflect.mirror.Literal
+ required: _context.Tree
+ def macro foo = scala.reflect.mirror.Literal(scala.reflect.mirror.Constant(2))
+ ^
+one error found