Skip to content

Commit 05263f0

Browse files
committed
add regression test for rust-lang#80074
1 parent 4334739 commit 05263f0

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)