]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/auxiliary/codegen-attrs.rs
Auto merge of #86860 - fee1-dead:stabilize, r=LeSeulArtichaut
[rust.git] / src / test / ui / hygiene / auxiliary / codegen-attrs.rs
1 #![feature(decl_macro)]
2
3 macro m($f:ident) {
4     #[export_name = "export_function_name"]
5     pub fn $f() -> i32 {
6         2
7     }
8 }
9
10 m!(rust_function_name);