diff --git a/src/test/run-pass/long-while.rs b/src/test/run-pass/long-while.rs new file mode 100644 index 00000000000..27a23203ede --- /dev/null +++ b/src/test/run-pass/long-while.rs @@ -0,0 +1,8 @@ +fn main() { + let int i = 0; + while (i < 1000000) { + i += 1; + auto x = 3; + } +} +