Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
const-prop-read-static-in-const.rs
blob: 13b1b2d14125b77883f559ef5fa303bb278ace38 [
file
] [
log
] [
blame
]
// compile-flags: -Zunleash-the-miri-inside-of-you
#![
allow
(
dead_code
)]
const
TEST
:
u8
=
MY_STATIC
;
//~ ERROR any use of this value will cause an error
static
MY_STATIC
:
u8
=
4
;
fn
main
()
{
}