add regression test for #80074

This commit is contained in:
Takayuki Maeda 2022-06-28 12:28:04 +09:00
parent 43347397f7
commit 05263f05bd
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
// edition:2018
macro_rules! foo_ { () => {}; }
use foo_ as foo;

10
src/test/ui/extern/issue-80074.rs vendored Normal file
View File

@ -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!();
}