Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
consts
/
const-prop-read-static-in-const.rs
blob: 14ec064e4ceef8a60c01a211c75b489121fc7173 [
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
//~^ skipping const checks
static
MY_STATIC
:
u8
=
4
;
fn
main
()
{
}