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

9 lines
101 B
Rust
Raw Normal View History

fn getbig(i: int) {
if i != 0 {
getbig(i - 1);
}
}
fn main() {
2011-12-17 19:08:46 -06:00
getbig(100000);
}