blob: 3a2d904cb1c218a2e4ef67e52eecd15bc0f2ca9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Test that a `limit` of 0 is valid
#![recursion_limit = "0"]
macro_rules! test {
() => {};
($tt:tt) => { test!(); };
}
test!(test); //~ ERROR recursion limit reached while expanding `test!`
fn main() {}
|