summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-1257.rs
blob: de5a6d35925869810728fad41e681fc93937fbd8 (plain)
1
2
3
4
5
6
7
8
9
10
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;
  }
}