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