summaryrefslogtreecommitdiffstats
path: root/src/test/ui/infinite/infinite-macro-expansion.rs
blob: 6ea0bc73dc05700251d9287f7c758c88d9c60522 (plain)
1
2
3
4
5
6
7
macro_rules! recursive {
    () => (recursive!()) //~ ERROR recursion limit reached while expanding `recursive!`
}

fn main() {
    recursive!()
}