1// bindgen-flags: --with-derive-hash --with-derive-partialord --with-derive-ord --with-derive-partialeq --with-derive-eq
2//
3/// Pointers can derive Hash/PartialOrd/Ord/PartialEq/Eq
4struct ConstPtrMutObj {
5    int* const bar;
6};
7
8struct MutPtrMutObj {
9    int* bar;
10};
11
12struct MutPtrConstObj {
13    const int* bar;
14};
15
16struct ConstPtrConstObj {
17    const int* const bar;
18};
19