rust/tests/ui/macros/out-of-scope-calls-false-positives.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
209 B
Rust
Raw Normal View History

//@ check-pass
//@ needs-asm-support
macro_rules! mac { () => { "" } }
macro_rules! mac2 { () => { "auxiliary/issue-40469.rs" } }
std::arch::global_asm!(mac!()); // OK
include!(mac2!()); // OK
fn main() {}