2020-02-06 04:20:28 -06:00
|
|
|
#![feature(core_intrinsics)]
|
|
|
|
|
|
|
|
use std::intrinsics::*;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
unsafe {
|
2022-07-11 06:44:55 -05:00
|
|
|
let _n = unchecked_rem(3u32, 0); //~ ERROR: calculating the remainder with a divisor of zero
|
2020-02-06 04:20:28 -06:00
|
|
|
}
|
|
|
|
}
|