diff options
Diffstat (limited to 'tests/ui/macros/local-ambiguity-multiple-parsing-options.rs')
-rw-r--r-- | tests/ui/macros/local-ambiguity-multiple-parsing-options.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/macros/local-ambiguity-multiple-parsing-options.rs b/tests/ui/macros/local-ambiguity-multiple-parsing-options.rs new file mode 100644 index 000000000..396748109 --- /dev/null +++ b/tests/ui/macros/local-ambiguity-multiple-parsing-options.rs @@ -0,0 +1,8 @@ +fn main() {} + +macro_rules! ambiguity { + ($($i:ident)* $j:ident) => {}; +} + +ambiguity!(error); //~ ERROR local ambiguity +ambiguity!(error); //~ ERROR local ambiguity |