diff options
Diffstat (limited to 'tests/rustdoc-gui/src/macro_expansion/other.rs')
| -rw-r--r-- | tests/rustdoc-gui/src/macro_expansion/other.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/src/macro_expansion/other.rs b/tests/rustdoc-gui/src/macro_expansion/other.rs new file mode 100644 index 00000000000..8661b01be38 --- /dev/null +++ b/tests/rustdoc-gui/src/macro_expansion/other.rs @@ -0,0 +1,6 @@ +#[macro_export] +macro_rules! other_macro { + ($x:ident) => {{ + $x += 2; + }} +} |
