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()5 fn compile_error() {
6     compile_error!("lel"); //~ ERROR lel
7     compile_error!("lel",); //~ ERROR lel
8 }
9 
main()10 fn main() {}
11