mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
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);
|
|
}
|