| ... | ... | @@ -2266,7 +2266,7 @@ pub fn addCases(cases: *tests.TranslateCContext) void { |
| 2266 | 2266 | \\ do {} while (0); |
| 2267 | 2267 | \\} |
| 2268 | 2268 | , &[_][]const u8{ |
| 2269 | | \\pub fn foo() void { |
| 2269 | \\pub fn foo() callconv(.C) void { |
| 2270 | 2270 | \\ if (@as(c_int, 1) != 0) while (true) { |
| 2271 | 2271 | \\ if (!(@as(c_int, 0) != 0)) break; |
| 2272 | 2272 | \\ }; |
| ... | ... | @@ -2358,9 +2358,9 @@ pub fn addCases(cases: *tests.TranslateCContext) void { |
| 2358 | 2358 | \\void c(void) {} |
| 2359 | 2359 | \\static void foo() {} |
| 2360 | 2360 | , &[_][]const u8{ |
| 2361 | | \\pub fn a() void {} |
| 2362 | | \\pub fn b() void {} |
| 2361 | \\pub fn a() callconv(.C) void {} |
| 2362 | \\pub fn b() callconv(.C) void {} |
| 2363 | 2363 | \\pub export fn c() void {} |
| 2364 | | \\pub fn foo() void {} |
| 2364 | \\pub fn foo() callconv(.C) void {} |
| 2365 | 2365 | }); |
| 2366 | 2366 | } |