mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
22 lines
306 B
Rust
22 lines
306 B
Rust
//@ check-pass
|
|
|
|
macro_rules! mac {
|
|
{} => {
|
|
#[cfg(attr)]
|
|
mod m {
|
|
#[lang_item]
|
|
fn f() {}
|
|
|
|
#[cfg_attr(target_thread_local, custom)]
|
|
fn g() {}
|
|
}
|
|
|
|
#[cfg(attr)]
|
|
unconfigured_invocation!();
|
|
}
|
|
}
|
|
|
|
mac! {}
|
|
|
|
fn main() {}
|