rust/tests/ui/macros/macro-expanded-include/foo/mod.rs

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

10 lines
193 B
Rust
Raw Normal View History

// ignore-test (auxiliary, used by other tests)
2016-06-24 06:46:18 -05:00
macro_rules! m {
() => { include!("file.txt"); }
}
2016-07-14 03:59:25 -05:00
macro_rules! n {
() => { unsafe { core::arch::asm!(include_str!("file.txt")); } }
2016-07-14 03:59:25 -05:00
}