2023-04-20 09:37:15 -05:00
|
|
|
//@aux-build:proc_macros.rs
|
2023-03-07 08:40:55 -06:00
|
|
|
|
|
|
|
#![warn(clippy::deref_addrof)]
|
|
|
|
|
|
|
|
extern crate proc_macros;
|
2019-09-02 09:26:04 -05:00
|
|
|
|
2023-03-07 08:40:55 -06:00
|
|
|
#[proc_macros::inline_macros]
|
|
|
|
fn f() -> i32 {
|
|
|
|
// should be fine
|
|
|
|
*inline!(&$1)
|
2019-09-02 09:26:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|