16 lines
236 B
Rust
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() {}
|