rust/src/test/run-fail/morestack1.rs

12 lines
144 B
Rust
Raw Normal View History

// xfail-test
fn getbig(i: int) {
if i != 0 {
getbig(i - 1);
} else {
fail;
}
}
fn main() {
getbig(10000000);
}