mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
7 lines
132 B
Zig
7 lines
132 B
Zig
export fn foo() void {
|
|
var a: f16 = 2.2;
|
|
_ = &a;
|
|
// this will pull-in compiler-rt
|
|
const b = @trunc(a);
|
|
_ = b;
|
|
}
|