diff --git a/gcc/testsuite/rust/compile/macro57.rs b/gcc/testsuite/rust/compile/macro57.rs new file mode 100644 index 000000000000..0640d2f83052 --- /dev/null +++ b/gcc/testsuite/rust/compile/macro57.rs @@ -0,0 +1,13 @@ +macro_rules! macro_rules { + () => {}; +} + +macro_rules! foo { + () => {}; +} + +foo!(); + +fn main() {} + +macro_rules!();