rust/tests/target/issue-2977/item.rs

12 lines
241 B
Rust
Raw Normal View History

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