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
193 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 18:47:21 +00:00
let stdout = &mut io::stdout() as &mut dyn io::Write;
stdout.write(b"Hello!");
2013-03-29 02:15:24 +00:00
}