debugger: add manual test for display of big integers

Change-Id: I8b6f7f9f446a6dddc31993a463a31f0eb6a4f827
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-11-15 16:57:43 +01:00
committed by hjk
parent 92b8a2eba8
commit 739593c590

View File

@@ -133,6 +133,7 @@ void dummyStatement(...) {}
#include <fstream> #include <fstream>
#include <map> #include <map>
#include <list> #include <list>
#include <limits>
#include <set> #include <set>
#include <stack> #include <stack>
#include <string> #include <string>
@@ -2956,6 +2957,15 @@ namespace basic {
dummyStatement(&f); dummyStatement(&f);
} }
void testBigInt()
{
qint64 a = Q_INT64_C(0x0102030405060708090a);
quint64 b = Q_UINT64_C(0x0102030405060708090a);
quint64 c = std::numeric_limits<quint64>::max() - quint64(1);
BREAK_HERE;
dummyStatement(&a, &b, &c);
}
void testBasic() void testBasic()
{ {
testReference1(); testReference1();
@@ -2983,6 +2993,7 @@ namespace basic {
testFork(); testFork();
testFunctionPointer(); testFunctionPointer();
testPassByReference(); testPassByReference();
testBigInt();
} }
} // namespace basic } // namespace basic