mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +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);
|
|
}
|