☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
float1.rs
☽
☼
gcc/testsuite/rust/compile/torture/float1.rs
code
plain
raw
1
fn test(x: f32) -> f32 {
2
return x + 1.0;
3
}
4
5
fn main() {
6
let a_float = 5.123;
7
let call_test = test(a_float + 1.0);
8
// { dg-warning "unused name" "" { target *-*-* } .-1 }
9
}