summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-blackbox-extractor.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-blackbox-extractor.check')
-rw-r--r--test/files/neg/macro-blackbox-extractor.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/macro-blackbox-extractor.check b/test/files/neg/macro-blackbox-extractor.check
new file mode 100644
index 0000000000..4c53ff19b8
--- /dev/null
+++ b/test/files/neg/macro-blackbox-extractor.check
@@ -0,0 +1,4 @@
+Test_2.scala:3: error: extractor macros can only be whitebox
+ case Extractor(x) => println(x)
+ ^
+one error found