1 // bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq 2 3 /** 4 * <div rustbindgen opaque></div> 5 */ 6 struct OtherOpaque { 7 int c; 8 }; 9 10 /** 11 * <div rustbindgen opaque></div> 12 */ 13 template <typename T> 14 struct Opaque { 15 T whatever; 16 }; 17 18 struct WithOpaquePtr { 19 Opaque<int>* whatever; 20 Opaque<float> other; 21 OtherOpaque t; 22 }; 23 24