On Thu, 2 Mar 2023 at 12:43, Nguyen Duc Sy wrote: > but I don't understand why this line is uncovered: > function _ZN4BaseD0Ev called 0 returned 0% blocks executed 0% > #####: 11: virtual ~Base(){ > -: 12: cout << "Base Destructor called\n"; > #####: 13: } > > Could this be a bug in G++/Gcov? No, your program never uses the D0 destructor variant. Try: Base* b = new Base(); delete b;