summaryrefslogtreecommitdiff
path: root/tests/headers/struct_with_anon_struct_array.h
blob: c66bb10e2cb7f43152c52d87085789c8ebbf432c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// bindgen-flags: --with-derive-hash --with-derive-partialeq
//
struct foo {
    struct {
        int a;
        int b;
    } bar[2];
    struct {
        int a;
        int b;
    } baz[2][3][4];
};