Test that unconfigured macro-expanded macro invocations are not expanded.
This commit is contained in:
parent
0558df24af
commit
6b3edc2f89
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ macro_rules! mac {
|
|||
#[cfg_attr(target_thread_local, custom)]
|
||||
fn g() {}
|
||||
}
|
||||
|
||||
#[cfg(attr)]
|
||||
unconfigured_invocation!();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue