Skip to content

Commit 268b214

Browse files
committed
Add long-while.rs to check on frame growth.
1 parent 540d29f commit 268b214

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/test/run-pass/long-while.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
fn main() {
2+
let int i = 0;
3+
while (i < 1000000) {
4+
i += 1;
5+
auto x = 3;
6+
}
7+
}
8+

0 commit comments

Comments
 (0)