]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-comma-support.rs
RustWrapper: simplify removing attributes
[rust.git] / src / test / ui / macros / macro-comma-support.rs
1 // This is a companion to the similarly-named test in run-pass.
2 //
3 // It tests macros that unavoidably produce compile errors.
4
5 fn compile_error() {
6     compile_error!("lel"); //~ ERROR lel
7     compile_error!("lel",); //~ ERROR lel
8 }
9
10 fn main() {}