%description: Test setPerformFinalGC(true). Dynamically allocated, cOwnedObject-based objects should be properly disposed of at the end of the simulation. %global: class Noisy : public cOwnedObject { public: Noisy() {EV << "Noisy ctor!\n";} virtual ~Noisy() {EV << "Noisy dtor!\n";} }; %activity: setPerformFinalGC(true); EV << "begin\n"; new Noisy; %inifile: test.ini [General] network = Test cmdenv-express-mode = false %contains-regex: stdout begin Noisy ctor! .*No more events.* Noisy dtor!