https://bugzilla.redhat.com/show_bug.cgi?id=1022983
--- Comment #15 from Matthew Miller mattdm@redhat.com --- And in the generated code, here is our unused "a":
void _cgo_92e4c70c8af1_Cfunc_foo(void *v) { struct { char unused; } __attribute__((__packed__, __gcc_struct__)) *a = v; foo(); }
Now, without going deeply into what that's all about, I've got no idea if this is a bug or intentional in this test.