]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/target/single-line-macro/v2.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / rustfmt / tests / target / single-line-macro / v2.rs
CommitLineData
f20569fa
XL
1// rustfmt-version: Two
2
3// #2652
4// Preserve trailing comma inside macro, even if it looks an array.
5macro_rules! bar {
6 ($m:ident) => {
7 $m!([
8 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 $m!([
11 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
12 ]);
13 };
14}