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

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

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