diff options
| author | Leandro Melo <leandro.melo@nokia.com> | 2010-10-04 17:07:03 +0200 |
|---|---|---|
| committer | Leandro Melo <leandro.melo@nokia.com> | 2010-10-04 17:09:46 +0200 |
| commit | f1e8e737c97d4ae83095cc45d1b2920b51337004 (patch) | |
| tree | 2a4c9f353e84493600c8eedb822a233567f09791 /tests/manual/cplusplus-tools/dummy.cpp | |
| parent | 2ec3acaf4e41b7b2823842e65ea33cf73ba502b3 (diff) | |
| download | qt-creator-f1e8e737c97d4ae83095cc45d1b2920b51337004.tar.gz | |
Tests: Add project with suggestions for testing the C++ tools.
Diffstat (limited to 'tests/manual/cplusplus-tools/dummy.cpp')
| -rw-r--r-- | tests/manual/cplusplus-tools/dummy.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/manual/cplusplus-tools/dummy.cpp b/tests/manual/cplusplus-tools/dummy.cpp new file mode 100644 index 0000000000..4700050d44 --- /dev/null +++ b/tests/manual/cplusplus-tools/dummy.cpp @@ -0,0 +1,32 @@ +#include "dummy.h" +#include "detail/header.h" + +using namespace test; + +extern int xi; + +Dummy::Dummy() +{} + +Dummy::Dummy(int) +{ + xi = 0; + freefunc2(1.0); +} + +void Dummy::bla(int) +{} + +void Dummy::bla(const QString &) +{} + +void Dummy::bla(const QString &) const +{} + +void Dummy::bla(int, const QString &) const +{} + +void Dummy::sfunc() +{} + +const double Dummy::PI = 3.14; |
