]> git.lizzy.rs Git - rust.git/blob - src/test/ui/recursion_limit/zero.rs
Rollup merge of #69667 - JohnTitor:no-debug, r=nikomatsakis
[rust.git] / src / test / ui / recursion_limit / zero.rs
1 // Test that a `limit` of 0 is valid
2
3 #![recursion_limit = "0"]
4
5 macro_rules! test {
6     () => {};
7     ($tt:tt) => { test!(); };
8 }
9
10 test!(test); //~ ERROR 10:1: 10:13: recursion limit reached while expanding `test!`
11
12 fn main() {}