summary refs log tree commit diff
path: root/src/test/ui/issues/issue-37366.rs
blob: 1c27960e9afb276a60da978ce693fabb3e41fa01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// ignore-emscripten
// compile-pass
// skip-codegen
#![feature(asm)]

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


fn main() {
}