rust/tests/ui/lint/semicolon-in-expressions-from-macros/foreign-crate.rs
2023-01-11 09:32:08 +00:00

10 lines
187 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!();
}