Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
while_let_without_label.rs
blob: e04e4b59d1df0a8b7454858a3a8caa1458dab416 [
file
] [
log
] [
blame
]
// { dg-additional-options "-frust-compile-until=lowering" }
enum
Foo
{
A
(
i32
),
}
fn
main
()
{
let
b
=
Foo
::
A
(
15
);
while
let
Foo
::
A
(
x
)
=
b
{}
}