Skip to content

Commit 2f89f0c

Browse files
authored
Rollup merge of rust-lang#98602 - TaKO8Ki:add-regression-test-for-issue-80074, r=Mark-Simulacrum
Add regression test for rust-lang#80074 closes rust-lang#80074
2 parents 9e5c7ec + 05263f0 commit 2f89f0c

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)