Compiling the C file:
gcc -o test test.c -I . -I /usr/include -lc
Compiling the Zig file throws an error:
$zig build-exe ztest.zig -I . --library c
Semantic Analysis [690/699] ztest.zig:10:13: error: type '[*c].cimport:4:11.foo_t' does not support field access
warn(f.?.x.?.y);
^
zig-cache/o/KTsLMnJBj_oMpD4ScU0kKunypkMOyrUqGwh01tBqUm6BmJTDGFma2NXIgWNkcfAA/cimport.zig:378:8: error: type '[*c].cimport:4:11.foo_t' does not support field access
f.?.x = new_bar(y);