aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-04-16 12:17:01 +0200
committerhjk <qtc-committer@nokia.com>2009-04-16 12:17:01 +0200
commit1f458da6bb2ffd7739217e361543970d8e7270dc (patch)
treed2f7ffb155b9385dbf994c65bed5fb571f2a07f7
parent5076be59e340a232142d9ac951518ee57797c0f6 (diff)
debugger: add a destructor in the manual test
-rw-r--r--tests/manual/gdbdebugger/simple/app.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp
index 427cbf452f..76b35c9ce7 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;