rust/tests/pretty/macro.rs
2023-01-11 09:32:08 +00:00

8 lines
110 B
Rust

// pp-exact
#![feature(decl_macro)]
pub(crate) macro mac { ($arg : expr) => { $arg + $arg } }
fn main() {}