blob: 00dc0b2c36081b0433744a86849c6349f699731a (
plain)
1
2
3
4
5
6
7
8
9
10
|
// ignore-32bit
#[warn(clippy::wrong_transmute)]
fn main() {
unsafe {
let _: *const usize = std::mem::transmute(6.0f64);
let _: *mut usize = std::mem::transmute(6.0f64);
}
}
|