1 // bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
2 
3 
4 template <typename T>
5 class HandleWithDtor {
6     T* ptr;
~HandleWithDtor()7     ~HandleWithDtor() {}
8 };
9 
10 typedef HandleWithDtor<int> HandleValue;
11 
12 class WithoutDtor {
13     HandleValue shouldBeWithDtor;
14 };
15