]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-comma-support.rs
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[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() {}