about summary refs log tree commit diff
path: root/tests/ui/macros/not-utf8.rs
blob: 0993c0688605f46582a6de5fd8bc15b4ea560d2f (plain)
1
2
3
4
5
6
7
//@ reference: input.encoding.utf8
//@ reference: input.encoding.invalid

fn foo() {
    include!("not-utf8.bin");
    //~^ ERROR couldn't read `$DIR/not-utf8.bin`: stream did not contain valid UTF-8
}