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