aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-1830_bytes.rs
blob: 24b69334deee9f9ff95c4713ab845d87435ed8fd (plain)
1
2
3
4
5
6
7
8
9
10
11
#![feature(rustc_attrs)]

#[rustc_builtin_macro]
macro_rules! include_bytes {
    () => {{}};
}

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