diff options
Diffstat (limited to 'tests/run-make-fulldeps/emit/test-24876.rs')
-rw-r--r-- | tests/run-make-fulldeps/emit/test-24876.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/emit/test-24876.rs b/tests/run-make-fulldeps/emit/test-24876.rs new file mode 100644 index 000000000..734e2ee4b --- /dev/null +++ b/tests/run-make-fulldeps/emit/test-24876.rs @@ -0,0 +1,9 @@ +// Checks for issue #24876 + +fn main() { + let mut v = 0; + for i in 0..0 { + v += i; + } + println!("{}", v) +} |