authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-02-08 15:22:42+00:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-03-10 10:26:10+00:00
loge2669689c46630afd3adb99c496a6895c6c95a15
treebb5c87a84eb5d8d247b02d4d80eb941e0f30b57f
parentc9fc921abdfddcfed3383488dc1eaf23dcdeaa54
signaturelock-open Commit is signed but in an unrecognized format.

behavior: auto structs with zero fields are not extern types


1 files changed, 1 insertions(+), 1 deletions(-)

test/behavior/sizeof_and_typeof.zig+1-1
......@@ -366,7 +366,7 @@ test "Extern function calls in @TypeOf" {
366366
367367 extern fn s_do_thing([*c]const @This(), b: c_int) c_short;
368368 };
369 const E = struct {
369 const E = extern struct {
370370 export fn s_do_thing(a: [*c]const @This(), b: c_int) c_short {
371371 _ = a;
372372 _ = b;