forked from qt-creator/qt-creator
debugger: add a destructor in the manual test
This commit is contained in:
@@ -87,6 +87,12 @@ public:
|
|||||||
b = 2 + s + t;
|
b = 2 + s + t;
|
||||||
a += 1;
|
a += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~Foo()
|
||||||
|
{
|
||||||
|
a = 5;
|
||||||
|
}
|
||||||
|
|
||||||
void doit()
|
void doit()
|
||||||
{
|
{
|
||||||
static QObject ob;
|
static QObject ob;
|
||||||
|
Reference in New Issue
Block a user