rust/tests/target/issue-2977/item.rs
2018-09-07 14:48:52 +02:00

12 lines
241 B
Rust

macro_rules! atomic_bits {
($ldrex:expr) => {
some_macro!(pub fn foo() {
asm!($ldrex
: "=r"(raw)
: "r"(address)
:
: "volatile");
})
};
}