aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;