test_ambiguous_coercion.zig (138B) - Raw
1 // Compile time coercion of float to int 2 test "implicit cast to comptime_int" { 3 const f: f32 = 54.0 / 5; 4 _ = f; 5 } 6 7 // test_error=
zigfork of https://codeberg.org/ziglang/zig | |
| Log | Files | Refs | README | LICENSE |