summaryrefslogtreecommitdiff
path: root/tests/headers/derive-hash-struct-with-incomplete-array.h
blob: 65c009db0c15276d2690054d905a2a331e711dee (plain)
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[];
};