summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-2977/item.rs
blob: 857065ca93f7ab89e9d063e8537f53cd224b9cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
macro_rules! atomic_bits {
    ($ldrex:expr) => {
        some_macro!(pub fn foo() {
            asm!($ldrex
                 : "=r"(raw)
                 : "r"(address)
                 :
                 : "volatile");
        })
    };
}