testfile.cpp (kdbg-3.0.0) | : | testfile.cpp (kdbg-3.0.1) | ||
---|---|---|---|---|
#include <iostream> | #include <iostream> | |||
#include <qstring.h> | #include <QtCore/QString> | |||
#include <qfile.h> | #include <QtCore/QFile> | |||
#include <qfileinfo.h> | #include <QtCore/QFileInfo> | |||
#include <qdir.h> | #include <QtCore/QDir> | |||
#include <math.h> | #include <math.h> | |||
namespace { | namespace { | |||
enum E { red, green, blue, yellow }; | enum E { red, green, blue, yellow }; | |||
} | } | |||
struct S { int x, y; S* s; }; | struct S { int x, y; S* s; }; | |||
struct emptyBase { }; | struct emptyBase { }; | |||
struct emptyDerived : S { }; | struct emptyDerived : S { }; | |||
struct emptyNested : emptyBase { }; | struct emptyNested : emptyBase { }; | |||
skipping to change at line 170 | skipping to change at line 170 | |||
sin(i); | sin(i); | |||
} | } | |||
(*pf[0])(e, '\n'); | (*pf[0])(e, '\n'); | |||
QString s; | QString s; | |||
s = "Hi, there!\r\n\t\"\'\\"; | s = "Hi, there!\r\n\t\"\'\\"; | |||
const QString& strref = s; | const QString& strref = s; | |||
templated_strtest(strtest, s); | templated_strtest(strtest, s.toLatin1()); | |||
s = "asbcxxxxxxxxxxxxxxxxxxxxxxxxxxx"; | s = "asbcxxxxxxxxxxxxxxxxxxxxxxxxxxx"; | |||
strtest(s); | strtest(s.toLatin1()); | |||
s += "iiiiiiiiiiiiiiiiiiiiiiiiiiiiiii"; | s += "iiiiiiiiiiiiiiiiiiiiiiiiiiiiiii"; | |||
strtest(s); | strtest(s.toLatin1()); | |||
s += "rst"; | s += "rst"; | |||
strtest(s); | strtest(s.toLatin1()); | |||
s = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"; | s = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"; | |||
strtest(s); | strtest(s.toLatin1()); | |||
s += "rst"; | s += "rst"; | |||
strtest(s); | strtest(s.toLatin1()); | |||
s = ""; | s = ""; | |||
Cl c1(13); | Cl c1(13); | |||
Dl d1(3214); | Dl d1(3214); | |||
d1.f(17); | d1.f(17); | |||
int n = 83; | int n = 83; | |||
d1(strref, n); | d1(strref, n); | |||
PtrFunc* ppf = d1; | PtrFunc* ppf = d1; | |||
const char* (Dl::*pmf)() const = &Dl::operator const char*; | const char* (Dl::*pmf)() const = &Dl::operator const char*; | |||
double (Dl::*pmv) = &Dl::m; | double (Dl::*pmv) = &Dl::m; | |||
End of changes. 7 change blocks. | ||||
10 lines changed or deleted | 10 lines changed or added |