Skip to content

Commit

Permalink
add regression test for #80074
Browse files Browse the repository at this point in the history
  • Loading branch information
TaKO8Ki committed Jun 28, 2022
1 parent 4334739 commit 05263f0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/ui/extern/auxiliary/issue-80074-macro.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// edition:2018

macro_rules! foo_ { () => {}; }
use foo_ as foo;
10 changes: 10 additions & 0 deletions src/test/ui/extern/issue-80074.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// edition:2018
// build-pass
// aux-crate:issue_80074=issue-80074-macro.rs

#[macro_use]
extern crate issue_80074;

fn main() {
foo!();
}

0 comments on commit 05263f0

Please sign in to comment.