add regression test for #80074
This commit is contained in:
parent
43347397f7
commit
05263f05bd
4
src/test/ui/extern/auxiliary/issue-80074-macro.rs
vendored
Normal file
4
src/test/ui/extern/auxiliary/issue-80074-macro.rs
vendored
Normal 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
10
src/test/ui/extern/issue-80074.rs
vendored
Normal 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!();
|
||||
}
|
Loading…
Reference in New Issue
Block a user