about summary refs log tree commit diff
path: root/src/test/ui/recursion_limit/overflow.rs
blob: 6487b1350aa98cd93f393fad50eb295e12f4ea39 (plain)
1
2
3
4
5
6
7
// Test the parse error for an overflowing recursion_limit

#![recursion_limit = "999999999999999999999999"]
//~^ ERROR `recursion_limit` must be a non-negative integer
//~| `recursion_limit` is too large

fn main() {}