rust/src/test/ui/issues/issue-37366.rs
2019-06-16 12:23:22 +03:00

16 lines
236 B
Rust

// check-pass
// ignore-emscripten
#![feature(asm)]
macro_rules! interrupt_handler {
() => {
unsafe fn _interrupt_handler() {
asm!("pop eax" :::: "intel");
}
}
}
interrupt_handler!{}
fn main() {}