summaryrefslogtreecommitdiff
path: root/tests/headers/class_with_dtor.hpp
blob: f52858a7b4eca2ae55b22f3d6864140a6191a4c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq


template <typename T>
class HandleWithDtor {
    T* ptr;
    ~HandleWithDtor() {}
};

typedef HandleWithDtor<int> HandleValue;

class WithoutDtor {
    HandleValue shouldBeWithDtor;
};