mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 20:04:19 +08:00
10 lines
145 B
Rust
10 lines
145 B
Rust
use arch::interrupt::{set_interrupts, halt};
|
|
|
|
#[test]
|
|
fn halt_with_interrupts() {
|
|
unsafe {
|
|
set_interrupts();
|
|
halt();
|
|
}
|
|
}
|