diff options
Diffstat (limited to 'test/files/neg/macro-noncompilertree.check')
-rw-r--r-- | test/files/neg/macro-noncompilertree.check | 6 |
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
|