Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
while_let_without_label.rs
blob: 6adf281c19d5b1300a019c4a8e58f15a868219dc [
file
]
// { dg-additional-options "-frust-compile-until=lowering" }
#![
feature
(
no_core
)]
#![
no_core
]
enum
Foo
{
A
(
i32
),
}
fn
main
()
{
let
b
=
Foo
::
A
(
15
);
while
let
Foo
::
A
(
x
)
=
b
{}
}