Skip to content

Commit

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

Add regression test for rust-lang#80074

closes rust-lang#80074
  • Loading branch information
Dylan-DPC authored Jun 28, 2022
2 parents 9e5c7ec + 05263f0 commit 2f89f0c
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 2f89f0c

Please sign in to comment.