Skip to content

Commit

Permalink
Rollup merge of #98602 - TaKO8Ki:add-regression-test-for-issue-80074,…
Browse files Browse the repository at this point in the history
… r=Mark-Simulacrum

Add regression test for #80074

closes #80074
  • Loading branch information
matthiaskrgr authored Jun 28, 2022
2 parents 6cb46ca + 05263f0 commit 70b4e04
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 70b4e04

Please sign in to comment.