blob: 9657bbdeadc17a367c274fbf73c53cc349b50707 (
plain)
1
2
3
4
5
6
7
8
|
// gate-test-const_compare_raw_pointers
static FOO: i32 = 42;
static BAR: i32 = 42;
static BAZ: bool = unsafe { (&FOO as *const i32) == (&BAR as *const i32) }; //~ ERROR issue #53020
fn main() {
}
|