summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/semicolon-in-expressions-from-macros/foreign-crate.rs
blob: 374506366f80236ed8a73910f08df4b21157b19e (plain)
1
2
3
4
5
6
7
8
9
// 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!();
}