summaryrefslogtreecommitdiffstats
path: root/tests/ui/cast/cast-region-to-uint.rs
blob: 33ec2d27610e44c883daffb4ee49585c30380e01 (plain)
1
2
3
4
5
6
// run-pass

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