2024-03-14 10:27:48 -06:00

8 lines
192 B
Plaintext

const std = #import("std");
const expect = std.testing.expect;
const foo :: extern = fn(arg: u32) u32;
const main = fn () *!void {
const arg = 0xabcdef;
try expect(foo(arg) == arg);
}