redox/kernel/tests/mod.rs

10 lines
151 B
Rust
Raw Normal View History

2016-08-15 02:16:56 +02:00
use arch::interrupt::{enable_interrupts, halt};
2016-08-14 22:59:18 +02:00
#[test]
fn halt_with_interrupts() {
unsafe {
2016-08-15 02:16:56 +02:00
enable_interrupts();
2016-08-14 22:59:18 +02:00
halt();
}
}