2019-06-12 09:56:51 -05:00
|
|
|
// check-pass
|
2019-06-08 03:35:30 -05:00
|
|
|
|
2016-04-08 18:41:27 -05:00
|
|
|
macro_rules! mac {
|
|
|
|
{} => {
|
|
|
|
#[cfg(attr)]
|
|
|
|
mod m {
|
|
|
|
#[lang_item]
|
|
|
|
fn f() {}
|
2016-05-17 20:50:29 -05:00
|
|
|
|
|
|
|
#[cfg_attr(target_thread_local, custom)]
|
|
|
|
fn g() {}
|
2016-04-08 18:41:27 -05:00
|
|
|
}
|
2016-05-17 21:02:04 -05:00
|
|
|
|
|
|
|
#[cfg(attr)]
|
|
|
|
unconfigured_invocation!();
|
2016-04-08 18:41:27 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mac! {}
|
|
|
|
|
2018-10-31 07:08:01 -05:00
|
|
|
fn main() {}
|