master
1fn foo(_: u32, _: u32) void {}
2pub export fn entry() void {
3 @call(.auto, foo, .{ 12, 12.34 });
4}
5pub export fn entry1() void {
6 const args = .{ 12, 12.34 };
7 @call(.auto, foo, args);
8}
9
10// error
11//
12// :3:30: error: fractional component prevents float value '12.34' from coercion to type 'u32'
13// :7:23: error: fractional component prevents float value '12.34' from coercion to type 'u32'