]> git.lizzy.rs Git - rust.git/blob - tests/ui/stable-addr-of.rs
Auto merge of #101138 - Rejyr:diagnostic-migration-rustc-lint-pt2, r=davidtwco
[rust.git] / tests / 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 }