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 4 struct ConstPtrMutObj { 5 int* const bar; 6 }; 7 8 struct MutPtrMutObj { 9 int* bar; 10 }; 11 12 struct MutPtrConstObj { 13 const int* bar; 14 }; 15 16 struct ConstPtrConstObj { 17 const int* const bar; 18 }; 19