From 1f458da6bb2ffd7739217e361543970d8e7270dc Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 16 Apr 2009 12:17:01 +0200 Subject: [PATCH] debugger: add a destructor in the manual test --- tests/manual/gdbdebugger/simple/app.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp index 427cbf452fe..76b35c9ce77 100644 --- a/tests/manual/gdbdebugger/simple/app.cpp +++ b/tests/manual/gdbdebugger/simple/app.cpp @@ -87,6 +87,12 @@ public: b = 2 + s + t; a += 1; } + + ~Foo() + { + a = 5; + } + void doit() { static QObject ob;