1 // bindgen-flags: --with-derive-hash --with-derive-partialord --with-derive-ord --with-derive-partialeq --with-derive-eq
2 //
3 /// A struct containing a struct containing a float that cannot derive Hash/Eq/Ord but can derive PartialEq/PartialOrd
4 struct foo {
5     struct {
6         float a;
7         float b;
8     } bar;
9 };
10