diff options
Diffstat (limited to 'tests/headers/class_with_dtor.hpp')
-rw-r--r-- | tests/headers/class_with_dtor.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/headers/class_with_dtor.hpp b/tests/headers/class_with_dtor.hpp new file mode 100644 index 00000000..b9bf74e1 --- /dev/null +++ b/tests/headers/class_with_dtor.hpp @@ -0,0 +1,13 @@ + + +template <typename T> +class HandleWithDtor { + T* ptr; + ~HandleWithDtor() {} +}; + +typedef HandleWithDtor<int> HandleValue; + +class WithoutDtor { + HandleValue shouldBeWithDtor; +}; |