about summary refs log tree commit diff
path: root/tests/ui/asm/normalizable-asm-ty.rs
blob: c1f3f3ecd61686f11a258bb1aa46ef37731ecedd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ check-pass
//@ needs-asm-support
//@ revisions: current next
//@ ignore-compare-mode-next-solver (explicit revisions)
//@[next] compile-flags: -Znext-solver

fn invoke(pc_section: &[usize]) {
    unsafe {
        std::arch::asm!(
            "/* {} */",
            in(reg) pc_section[0]
        );
    }
}

fn main() {}