Move tests
This commit is contained in:
parent
c373194cb6
commit
25e395653d
25 changed files with 2 additions and 2 deletions
11
tests/ui/for-loop-while/issue-1257.rs
Normal file
11
tests/ui/for-loop-while/issue-1257.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
// run-pass
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
pub fn main () {
|
||||
let mut line = "".to_string();
|
||||
let mut i = 0;
|
||||
while line != "exit".to_string() {
|
||||
line = if i == 9 { "exit".to_string() } else { "notexit".to_string() };
|
||||
i += 1;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue