diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp index 0259c0a2e21..de03433ea59 100644 --- a/tests/manual/gdbdebugger/simple/app.cpp +++ b/tests/manual/gdbdebugger/simple/app.cpp @@ -28,6 +28,7 @@ **************************************************************************/ #include +#include #include #include #include @@ -194,6 +195,16 @@ void testQByteArray() ba += 2; } +void testQDateTime() +{ + QDateTime date; + date = QDateTime::currentDateTime(); + date = date.addSecs(5); + date = date.addSecs(5); + date = date.addSecs(5); + date = date.addSecs(5); +} + void testQFileInfo() { QFileInfo fi("/tmp/t"); @@ -553,6 +564,7 @@ void testQSet() QObject ob; QSet > hash; QPointer ptr(&ob); + ptr; //hash.insert(ptr); //hash.insert(ptr); //hash.insert(ptr); @@ -592,7 +604,7 @@ public: private: QSharedDataPointer d; - }; +}; void testQSharedPointer() @@ -1301,6 +1313,7 @@ int main(int argc, char *argv[]) testQStack(); testUninitialized(); testPointer(); + testQDateTime(); testQFileInfo(); testObject1(); testVector1();