]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stable-addr-of.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / stable-addr-of.rs
1 // run-pass
2 // Issue #2040
3
4
5 pub fn main() {
6     let foo: isize = 1;
7     assert_eq!(&foo as *const isize, &foo as *const isize);
8 }