]> git.lizzy.rs Git - rust.git/blob - tests/ui/stable-addr-of.rs
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[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 }