]> granicus.if.org Git - gc/commit
Add check that gc_cpp operator delete is called (test_cpp)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 11 Jan 2018 23:57:32 +0000 (02:57 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 11 Jan 2018 23:57:32 +0000 (02:57 +0300)
commit5524a425d70a35e2247ac21336946008ad19e7b1
tree3e7ddca44de691c20d995dbd6118c3127aa441dd
parent5d9cc38c21156ad4aaf4f7c22bd997038ff11c37
Add check that gc_cpp operator delete is called (test_cpp)

Issue #195 (bdwgc).

* tests/test_cpp.cc (GC_CHECKED_DELETE): New macro.
* tests/test_cpp.cc (main): Use GC_CHECKED_DELETE() instead of operator
delete (where it is expected that the operator defined in gc_cpp.c/h
is called).
tests/test_cpp.cc