mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
10 lines
189 B
Rust
10 lines
189 B
Rust
//@ aux-build:foreign-crate.rs
|
|
//@ check-pass
|
|
|
|
extern crate foreign_crate;
|
|
|
|
// Test that we do not lint for a macro in a foreign crate
|
|
fn main() {
|
|
let _ = foreign_crate::my_macro!();
|
|
}
|