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() { }