Debian Codegraph @

gcc/testsuite/rust/compile/macros/builtin/include_str_location_info.rs

raw
1 #![feature(rustc_attrs)]
2
3 #[rustc_builtin_macro]
4 macro_rules! include_str {
5 () => {{}};
6 }
7
8 fn main() {
9 include_str!("nonexistent.txt"); // { dg-error "cannot open filename (.*?)nonexistent.txt: No such file or directory" }
10 }