mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 12:24:17 +08:00
10 lines
151 B
Rust
10 lines
151 B
Rust
use arch::interrupt::{enable_interrupts, halt};
|
|
|
|
#[test]
|
|
fn halt_with_interrupts() {
|
|
unsafe {
|
|
enable_interrupts();
|
|
halt();
|
|
}
|
|
}
|