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

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

fn main() {}