diff options
Diffstat (limited to 'tests/ui/issues/issue-27639.rs')
-rw-r--r-- | tests/ui/issues/issue-27639.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-27639.rs b/tests/ui/issues/issue-27639.rs new file mode 100644 index 000000000..945fbad91 --- /dev/null +++ b/tests/ui/issues/issue-27639.rs @@ -0,0 +1,11 @@ +// run-pass +#![allow(dead_code)] +#![allow(non_upper_case_globals)] + +fn main() { + const iter: i32 = 0; + + for i in 1..10 { + println!("{}", i); + } +} |