Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
cd4d7ef1
Commit
cd4d7ef1
authored
Jul 23, 2009
by
hjk
Browse files
debugger: add some testcase to investigate child fetching behaviour
parent
97afa6f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/manual/gdbdebugger/simple/app.cpp
View file @
cd4d7ef1
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment