add regression test for #78892
This commit is contained in:
parent
25f6938da4
commit
868aa8974d
1 changed files with 14 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
|||
// check-pass
|
||||
|
||||
// regression test for #78892
|
||||
|
||||
macro_rules! mac {
|
||||
($lint_name:ident) => {{
|
||||
#[allow($lint_name)]
|
||||
let _ = ();
|
||||
}};
|
||||
}
|
||||
|
||||
fn main() {
|
||||
mac!(dead_code)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue