rust/tests/ui/macros/macro-expanded-include/foo/mod.rs
2023-01-11 09:32:08 +00:00

10 lines
160 B
Rust

// ignore-test
macro_rules! m {
() => { include!("file.txt"); }
}
macro_rules! n {
() => { unsafe { core::arch::asm!(include_str!("file.txt")); } }
}