2020-07-16 15:10:52 +01:00
|
|
|
const expect = @import("std").testing.expect;
|
2020-09-10 10:58:12 +01:00
|
|
|
const expectEqual = @import("std").testing.expectEqual;
|
2020-07-16 15:10:52 +01:00
|
|
|
|
2021-04-29 23:54:04 +01:00
|
|
|
const h = @cImport(@cInclude("behavior/translate_c_macros.h"));
|
2020-07-16 15:10:52 +01:00
|
|
|
|
2021-08-03 06:44:20 +01:00
|
|
|
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);
|
|
|
|
}
|