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
Tobias Hunger
qt-creator
Commits
91aa9f6c
Commit
91aa9f6c
authored
Aug 11, 2010
by
hjk
Browse files
debugger: add some test code to the manual test
parent
3f6dfd88
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/manual/gdbdebugger/simple/app.cpp
View file @
91aa9f6c
...
...
@@ -1783,6 +1783,20 @@ namespace ns {
void
testStuff
()
{
QList
<
QList
<
int
>
>
list1
;
QList
<
QList
<
int
>
>
list2
;
list1
.
append
(
QList
<
int
>
()
<<
1
);
list2
.
append
(
QList
<
int
>
()
<<
2
);
for
(
int
i
=
0
;
i
<
list1
.
size
();
++
i
)
{
for
(
int
j
=
0
;
j
<
list1
.
at
(
i
).
size
();
++
j
)
{
for
(
int
k
=
i
;
k
<
list1
.
size
();
++
k
)
{
for
(
int
l
=
j
;
l
<
list1
.
at
(
k
).
size
();
++
l
)
{
qDebug
()
<<
list1
.
at
(
i
).
at
(
j
)
+
list2
.
at
(
k
).
at
(
l
);
}
}
}
}
typedef
unsigned
short
wchar
;
wchar
*
str
=
new
wchar
[
10
];
str
[
2
]
=
0
;
...
...
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