2023-06-06 10:11:08 -05:00
|
|
|
// check-pass
|
|
|
|
|
|
|
|
// same as #95267, ignore doc comment although it's a bug.
|
|
|
|
|
|
|
|
macro_rules! m1 {
|
|
|
|
(
|
|
|
|
$(
|
|
|
|
///
|
|
|
|
$expr: expr,
|
|
|
|
)*
|
|
|
|
) => {};
|
|
|
|
}
|
|
|
|
|
|
|
|
m1! {}
|
|
|
|
|
|
|
|
macro_rules! m2 {
|
|
|
|
(
|
|
|
|
$(
|
|
|
|
///
|
|
|
|
$expr: expr,
|
|
|
|
///
|
|
|
|
)*
|
|
|
|
) => {};
|
|
|
|
}
|
|
|
|
|
|
|
|
m2! {}
|
|
|
|
|
2023-06-06 11:26:16 -05:00
|
|
|
macro_rules! m3 {
|
|
|
|
(
|
|
|
|
$(
|
|
|
|
///
|
|
|
|
$tt: tt,
|
|
|
|
)*
|
|
|
|
) => {};
|
|
|
|
}
|
|
|
|
|
|
|
|
m3! {}
|
|
|
|
|
2023-06-06 10:11:08 -05:00
|
|
|
fn main() {}
|