blob: b28d27061b9ce309d6d60d960c6d7c981a2a21a9 [file] [log] [blame]
#![feature(no_core)]
#![no_core]
fn test(x: f32) -> f32 {
return x + 1.0;
}
fn main() {
let a_float = 5.123;
let call_test = test(a_float + 1.0);
// { dg-warning "unused name" "" { target *-*-* } .-1 }
}