Skip to content

Commit b1d0c14

Browse files
shulaodaytmimi
authored andcommitted
tests: cover macro calls following one with invalid syntax
1 parent d9753b1 commit b1d0c14

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

tests/source/macros.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,3 +484,10 @@ f!(match a {
484484

485485
// #3583
486486
foo!(|x = y|);
487+
488+
// #3757
489+
f!(match a {
490+
_ => ( ),
491+
});
492+
493+
g!( 1, 2, 3 );

tests/target/macros.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,3 +1056,10 @@ f!(match a {
10561056

10571057
// #3583
10581058
foo!(|x = y|);
1059+
1060+
// #3757
1061+
f!(match a {
1062+
_ => (),
1063+
});
1064+
1065+
g!(1, 2, 3);

0 commit comments

Comments
 (0)