diff options
| author | Andy Caldwell <andrew.caldwell@metaswitch.com> | 2015-07-24 01:09:52 +0000 |
|---|---|---|
| committer | Andy Caldwell <andrew.caldwell@metaswitch.com> | 2015-07-24 01:09:52 +0000 |
| commit | 610d1e312f4d8ec13755015c69d5ae410039b06a (patch) | |
| tree | 0d6b410a633771c90bb64bd6cbd1c7d7b20d7115 | |
| parent | 90904204d6218ecb4bdfb36015759ade77b10f4b (diff) | |
| download | rust-610d1e312f4d8ec13755015c69d5ae410039b06a.tar.gz rust-610d1e312f4d8ec13755015c69d5ae410039b06a.zip | |
Add test for issue #23389
| -rw-r--r-- | src/test/compile-fail/invalid-macro-matcher.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/compile-fail/invalid-macro-matcher.rs b/src/test/compile-fail/invalid-macro-matcher.rs new file mode 100644 index 00000000000..568bac1d89d --- /dev/null +++ b/src/test/compile-fail/invalid-macro-matcher.rs @@ -0,0 +1,6 @@ +macro_rules! invalid { //~ ERROR Invalid macro matcher + _ => (); +} + +fn main() { +} |
