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