diff options
Diffstat (limited to 'tests/ui/invalid/invalid-macro-matcher.rs')
-rw-r--r-- | tests/ui/invalid/invalid-macro-matcher.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/invalid/invalid-macro-matcher.rs b/tests/ui/invalid/invalid-macro-matcher.rs new file mode 100644 index 000000000..ff79d4e1a --- /dev/null +++ b/tests/ui/invalid/invalid-macro-matcher.rs @@ -0,0 +1,8 @@ +#![allow(unused_macros)] + +macro_rules! invalid { + _ => (); //~ ERROR invalid macro matcher +} + +fn main() { +} |