☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
macro-issue1403.rs
☽
☼
gcc/testsuite/rust/compile/torture/macro-issue1403.rs
code
plain
raw
1
macro_rules! stmt {
2
($s:stmt) => {
3
$s
4
};
5
($s:stmt, $($ss:stmt),*) => {
6
$s;
7
stmt!($($ss),*);
8
};
9
}
10
11
fn main() {
12
stmt!(
13
struct S;
14
);
15
stmt!(
16
struct A;,
17
struct B;,
18
struct C;,
19
struct D;,
20
struct E;
21
);
22
}
23