1 // This is a companion to the similarly-named test in run-pass. 2 // 3 // It tests macros that unavoidably produce compile errors. 4 compile_error()5fn compile_error() { 6 compile_error!("lel"); //~ ERROR lel 7 compile_error!("lel",); //~ ERROR lel 8 } 9 main()10fn main() {} 11