Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
mir-opt
/
const_prop
/
read_immutable_static.rs
blob: a8d8cfacc7ce9d195ae6e4b662c823c0f7f09843 [
file
] [
log
] [
blame
]
// skip-filecheck
// unit-test: ConstProp
static
FOO
:
u8
=
2
;
// EMIT_MIR read_immutable_static.main.ConstProp.diff
fn
main
()
{
let
x
=
FOO
+
FOO
;
}