blob: ee3c95ba0843be21de5b3bc9e2298ca50b3b3af8 [file] [log] [blame]
//! regression test for <https://github.com/rust-lang/rust/issues/51874>
fn main() {
let a = (1.0).pow(1.0); //~ ERROR can't call method `pow` on ambiguous numeric type
}