1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq --with-derive-partialord --with-derive-ord // struct test { int a; char zero_length_array[0]; }; struct test2 { int a; char incomplete_array[]; }; struct test3 { int a; char zero_length_array[0]; char incomplete_array[]; };