Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
refs/heads/revert-82057-cstr
/
.
/
src
/
test
/
mir-opt
/
simplify-locals-fixedpoint.rs
blob: 78b1f9f55e59d2a8119077cf6e837266ed76ddd9 [
file
] [
log
] [
blame
] [
edit
]
// compile-flags: -Zmir-opt-level=1
fn
foo
<
T
>()
{
if
let
(
Some
(
a
),
None
)
=
(
Option
::<
u8
>::
None
,
Option
::<
T
>::
None
)
{
if
a
>
42u8
{
}
}
}
fn
main
()
{
foo
::<()>();
}
// EMIT_MIR simplify_locals_fixedpoint.foo.SimplifyLocals.diff