summaryrefslogtreecommitdiffstats
path: root/src/test/ui/stable-addr-of.rs
blob: 99839166e302698a949ba32a0e7522f015d6e743 (plain)
1
2
3
4
5
6
7
8
// run-pass
// Issue #2040


pub fn main() {
    let foo: isize = 1;
    assert_eq!(&foo as *const isize, &foo as *const isize);
}