Sign in
fuchsia
/
third_party
/
rust
/
96909179d9ec80db286605876ce67659dd16fd4b
/
.
/
src
/
test
/
ui
/
error-codes
/
E0395.rs
blob: 9657bbdeadc17a367c274fbf73c53cc349b50707 [
file
] [
log
] [
blame
]
// 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
()
{
}