summary refs log tree commit diff
path: root/tests/ui/macros/out-of-scope-calls-false-positives.rs
blob: 8d696c177e441432c3310fd62e8ff4429c4427f6 (plain)
1
2
3
4
5
6
7
8
9
10
//@ 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() {}