]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-5741.rs
Rollup merge of #45171 - rust-lang:petrochenkov-patch-2, r=steveklabnik
[rust.git] / src / test / run-pass / issue-5741.rs
index 46ec68675e7f3e9293fced720fb8aebaecd8b4fc..5190bd95adadc89e368f085875ee5e61d44d4728 100644 (file)
@@ -8,11 +8,11 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[allow(unreachable_code)];
+// pretty-expanded FIXME #23616
 
-use std::io;
+#![allow(unreachable_code)]
 
 pub fn main() {
     return;
-    while io::stdin().read_line() != ~"quit" { };
+    while true {};
 }