rust/tests/ui/infinite/infinite-macro-expansion.rs
2023-01-11 09:32:08 +00:00

8 lines
147 B
Rust

macro_rules! recursive {
() => (recursive!()) //~ ERROR recursion limit reached while expanding `recursive!`
}
fn main() {
recursive!()
}