summaryrefslogtreecommitdiff
path: root/tests/headers/derive-hash-struct-with-anon-struct-float.h
blob: 64fe7fd937bd70f3223bdf5b7b2230bc3e340e7b (plain)
1
2
3
4
5
6
7
8
9
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
//
/// A struct containing a struct containing a float that cannot derive hash/eq but can derive partial eq.
struct foo {
    struct {
        float a;
        float b;
    } bar;
};