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