rust/tests/ui/macros/genercs-in-path-with-prettr...

16 lines
241 B
Plaintext

#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
//@ compile-flags: -Zunpretty=hir
// issue#97006
macro_rules! m { ($attr_path: path) => { #[$attr_path] fn f() {} } }
#[
inline]
fn f() { }
fn main() { }