Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
incremental
/
cache-lint-expectation.rs
blob: c05508cbfc934e1517652836396d61563e69f002 [
file
]
// Regression test for #154878 and #162811
//@ revisions: bpass1 bpass2
pub
fn
main
()
{
let
x
=
42.0
;
#[
expect
(
invalid_nan_comparisons
)]
let
_b
=
x
==
f32
::
NAN
;
#[
allow
(
dead_code
)]
for
_ in
0.
.
10
{}
}