]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/source/single-line-macro/v1.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / rustfmt / tests / source / single-line-macro / v1.rs
CommitLineData
f20569fa
XL
1// rustfmt-version: One
2
3// #2652
4// Preserve trailing comma inside macro, even if it looks an array.
5macro_rules! bar {
6 ($m:ident) => {
7 $m!([a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z,]);
8 $m!([a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z]);
9 };
10}