summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-06-17 16:00:03 +0200
committerhjk <qtc-committer@nokia.com>2009-06-17 16:00:04 +0200
commit609f4a437b746671f30fd091662e125c56d54979 (patch)
tree4ea9ad9fe1e0e9ef2be3f749627f85537390333c /tests
parent019fead33887773040b041a8b0d4ed7304d914ed (diff)
downloadqt-creator-609f4a437b746671f30fd091662e125c56d54979.tar.gz
debugger: Rework watch model.
It's now properly using canFetchMore/fetchMore. cdb is not yet ported.
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/gdbdebugger/simple/app.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp
index 2aaeddc1b5..f29c633c21 100644
--- a/tests/manual/gdbdebugger/simple/app.cpp
+++ b/tests/manual/gdbdebugger/simple/app.cpp
@@ -122,8 +122,23 @@ private:
QHash<QObject *, Map::iterator> h;
};
+class X : virtual public Foo
+{
+public:
+ X() {
+ }
+};
+
+class Y : virtual public Foo
+{
+public:
+ Y() {
+ }
+};
+
void testArray()
{
+ X xxx;
char c[20];
c[0] = 'a';
c[1] = 'b';