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