rust/tests/ui/issues/issue-4333.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
191 B
Rust
Raw Normal View History

// run-pass
#![allow(unused_must_use)]
// pretty-expanded FIXME #23616
use std::io;
pub fn main() {
2019-05-28 13:47:21 -05:00
let stdout = &mut io::stdout() as &mut dyn io::Write;
stdout.write(b"Hello!");
2013-03-28 21:15:24 -05:00
}