aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-1830_bytes.rs
blob: 997d4ca0cdcd9052c2dafa1228e33b34a68f3881 (plain)
1
2
3
4
5
6
7
8
9
#[rustc_builtin_macro]
macro_rules! include_bytes {
    () => {{}};
}

fn main() {
    include_bytes!("");
    // { dg-error {cannot open filename [^\n\r]+: Is a directory} {} { target *-*-* } 0 }
}