Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
consts
/
const-block-non-item-statement-rpass.rs
blob: 3e52eb50e75665c56d64188a31cb788522db7ec2 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
,
unused
)]
#[
repr
(
u8
)]
enum
Foo
{
Bar
=
{
let
x
=
1
;
3
}
}
pub
fn
main
()
{
assert_eq
!(
3
,
Foo
::
Bar
as
u8
);
}