rust/tests/ui/issues/issue-4333.rs
2024-02-16 20:02:50 +00:00

10 lines
193 B
Rust

//@ run-pass
#![allow(unused_must_use)]
//@ pretty-expanded FIXME #23616
use std::io;
pub fn main() {
let stdout = &mut io::stdout() as &mut dyn io::Write;
stdout.write(b"Hello!");
}