Skip to content

Commit 70b4e04

Browse files
authored
Rollup merge of #98602 - TaKO8Ki:add-regression-test-for-issue-80074, r=Mark-Simulacrum
Add regression test for #80074 closes #80074
2 parents 6cb46ca + 05263f0 commit 70b4e04

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// edition:2018
2+
3+
macro_rules! foo_ { () => {}; }
4+
use foo_ as foo;

src/test/ui/extern/issue-80074.rs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// edition:2018
2+
// build-pass
3+
// aux-crate:issue_80074=issue-80074-macro.rs
4+
5+
#[macro_use]
6+
extern crate issue_80074;
7+
8+
fn main() {
9+
foo!();
10+
}

0 commit comments

Comments
 (0)