12 lines
180 B
Rust
12 lines
180 B
Rust
|
//@ 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);
|
||
|
}
|