1442: testsuite: test for diagnostics shown when a built-in macro does not exist r=CohenArthur a=liushuyu

- testsuite: test for diagnostics shown when a built-in macro does not exist

Co-authored-by: liushuyu <liushuyu011@gmail.com>
This commit is contained in:
bors[bot] 2022-08-08 05:47:41 +00:00 committed by GitHub
commit c8f65b3fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#[rustc_builtin_macro]
macro_rules! crabby_crab_carb { // { dg-error "cannot find a built-in macro with name .crabby_crab_carb." }
() => {{}};
}