gcc/testsuite/rust/compile/decl_macro6.rs
raw| 1 | #![feature(decl_macro)] |
| 2 | macro m {} |
| 3 | // { dg-error "unexpected token .\}. - expecting delimiters .for a macro matcher." "" { target *-*-* } .-1 } |
| 4 | // { dg-error "required first macro rule in declarative macro definition could not be parsed" "" { target *-*-* } .-2 } |
| 5 | // { dg-error "failed to parse item in crate" "" { target *-*-* } .-3 } |