summaryrefslogtreecommitdiff
path: root/test/files/neg/t6539.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t6539.check')
-rw-r--r--test/files/neg/t6539.check8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/files/neg/t6539.check b/test/files/neg/t6539.check
index b647636338..8c94a8ad4c 100644
--- a/test/files/neg/t6539.check
+++ b/test/files/neg/t6539.check
@@ -7,4 +7,10 @@ Test_2.scala:3: error: cto may only be used as an argument to m
Test_2.scala:5: error: cto may only be used as an argument to m
M.cto // error
^
-three errors found
+Test_2.scala:9: error: splice must be enclosed within a reify {} block
+ val splice = expr.splice
+ ^
+Test_2.scala:10: error: cannot use value except for signatures of macro implementations
+ val value = expr.value
+ ^
+5 errors found