blob: a3ce9cc5d096e346679ab29f76670ef4791342ab [file] [log] [blame]
// bindgen-flags: --with-derive-hash --with-derive-partialord --with-derive-ord --with-derive-partialeq --with-derive-eq
//
/// Pointers can derive Hash/PartialOrd/Ord/PartialEq/Eq
struct ConstPtrMutObj {
int* const bar;
};
struct MutPtrMutObj {
int* bar;
};
struct MutPtrConstObj {
const int* bar;
};
struct ConstPtrConstObj {
const int* const bar;
};