Add long-while.rs to check on frame growth.
This commit is contained in:
parent
540d29f641
commit
268b2140dc
8
src/test/run-pass/long-while.rs
Normal file
8
src/test/run-pass/long-while.rs
Normal file
@ -0,0 +1,8 @@
|
||||
fn main() {
|
||||
let int i = 0;
|
||||
while (i < 1000000) {
|
||||
i += 1;
|
||||
auto x = 3;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user