mirror of
https://github.com/ziglang/zig.git
synced 2024-12-03 10:28:48 +00:00
18 lines
439 B
Zig
18 lines
439 B
Zig
const expect = @import("std").testing.expect;
|
|
const expectEqual = @import("std").testing.expectEqual;
|
|
|
|
const h = @cImport(@cInclude("behavior/translate_c_macros.h"));
|
|
|
|
test "casting to void with a macro" {
|
|
h.IGNORE_ME_1(42);
|
|
h.IGNORE_ME_2(42);
|
|
h.IGNORE_ME_3(42);
|
|
h.IGNORE_ME_4(42);
|
|
h.IGNORE_ME_5(42);
|
|
h.IGNORE_ME_6(42);
|
|
h.IGNORE_ME_7(42);
|
|
h.IGNORE_ME_8(42);
|
|
h.IGNORE_ME_9(42);
|
|
h.IGNORE_ME_10(42);
|
|
}
|