rust/tests/crashes/101962.rs

12 lines
180 B
Rust
Raw Normal View History

//@ known-bug: #101962
#![feature(core_intrinsics)]
pub fn wrapping<T: Copy>(a: T, b: T) {
let _z = core::intrinsics::wrapping_mul(a, b);
}
fn main() {
wrapping(1,2);
}