]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stable-addr-of.rs
Rollup merge of #92959 - asquared31415:test-non-fn-help, r=estebank
[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 }