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

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