summary refs log tree commit diff
path: root/src/test/ui/issues/issue-37366.rs
blob: be9b4af8fbc41ec7daa92dc02548afc4f2cc88f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// check-pass
// ignore-emscripten

#![feature(llvm_asm)]

macro_rules! interrupt_handler {
    () => {
        unsafe fn _interrupt_handler() {
            llvm_asm!("pop  eax" :::: "intel");
        }
    }
}
interrupt_handler!{}

fn main() {}