rust/tests/pretty/macro.rs

8 lines
111 B
Rust

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