rust/tests/ui/cast/cast-region-to-uint.rs
2024-02-16 20:02:50 +00:00

6 lines
110 B
Rust

//@ run-pass
pub fn main() {
let x: isize = 3;
println!("&x={:x}", (&x as *const isize as usize));
}