diff options
Diffstat (limited to 'tests/pretty/macro.rs')
-rw-r--r-- | tests/pretty/macro.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pretty/macro.rs b/tests/pretty/macro.rs new file mode 100644 index 000000000..b88ae7039 --- /dev/null +++ b/tests/pretty/macro.rs @@ -0,0 +1,7 @@ +// pp-exact + +#![feature(decl_macro)] + +pub(crate) macro mac { ($arg : expr) => { $arg + $arg } } + +fn main() {} |