1 // normalize-stderr-test: "existed:.*\(" -> "existed: $$FILE_NOT_FOUND_MSG ("
3 // test that errors in a (selection) of macros don't kill compilation
4 // immediately, so that we get more errors listed at a time.
6 #![feature(asm, llvm_asm)]
7 #![feature(trace_macros, concat_idents)]
9 #[derive(Default)] //~ ERROR
13 asm!(invalid); //~ ERROR
14 llvm_asm!(invalid); //~ ERROR
16 concat_idents!("not", "idents"); //~ ERROR
18 option_env!(invalid); //~ ERROR
19 env!(invalid); //~ ERROR
20 env!(foo, abr, baz); //~ ERROR
21 env!("RUST_HOPEFULLY_THIS_DOESNT_EXIST"); //~ ERROR
23 format!(invalid); //~ ERROR
25 include!(invalid); //~ ERROR
27 include_str!(invalid); //~ ERROR
28 include_str!("i'd be quite surprised if a file with this name existed"); //~ ERROR
29 include_bytes!(invalid); //~ ERROR
30 include_bytes!("i'd be quite surprised if a file with this name existed"); //~ ERROR
32 trace_macros!(invalid); //~ ERROR