summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-keyword-bind.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-keyword-bind.scala')
-rw-r--r--test/files/neg/macro-keyword-bind.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/macro-keyword-bind.scala b/test/files/neg/macro-keyword-bind.scala
new file mode 100644
index 0000000000..a3b1553348
--- /dev/null
+++ b/test/files/neg/macro-keyword-bind.scala
@@ -0,0 +1,6 @@
+object Test12 {
+ val Some(macro) = Some(42)
+ macro match {
+ case macro => println(macro)
+ }
+} \ No newline at end of file