rust/tests/ui/lint/semicolon-in-expressions-from-macros/foreign-crate.rs

10 lines
187 B
Rust
Raw Normal View History

2021-07-24 17:44:57 -05:00
// 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!();
}