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