Commit cd4d7ef1 authored by hjk's avatar hjk
Browse files

debugger: add some testcase to investigate child fetching behaviour

parent 97afa6f7
......@@ -1213,8 +1213,33 @@ void testQHash1()
hash.insert("!", QList<int>() << 1 << 2);
}
void testPointer()
{
Foo *f = new Foo();
int i = 0;
++i;
++i;
++i;
}
class Z : public QObject
{
public:
Z() {
f = new Foo();
i = 0;
i = 1;
i = 2;
i = 3;
}
int i;
Foo *f;
};
int main(int argc, char *argv[])
{
testPointer();
testQFileInfo();
testObject1();
testVector1();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment