summaryrefslogtreecommitdiff
path: root/tests/headers/derive-hash-struct-with-float-array.h
blob: 2294b1decfbca43a0b51d2432e0325794902c96f (plain)
1
2
3
4
5
6
// bindgen-flags: --with-derive-hash --with-derive-partialord --with-derive-ord --with-derive-partialeq --with-derive-eq
//
/// A struct containing an array of floats that cannot derive Hash/Eq/Ord but can derive PartialEq/PartialOrd
struct foo {
    float bar[3];
};