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/detail/source.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/detail/source.cpp')
-rw-r--r-- | tests/manual/cplusplus-tools/detail/source.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/manual/cplusplus-tools/detail/source.cpp b/tests/manual/cplusplus-tools/detail/source.cpp new file mode 100644 index 0000000000..81af534013 --- /dev/null +++ b/tests/manual/cplusplus-tools/detail/source.cpp @@ -0,0 +1,19 @@ +#include "header.h" +#include "dummy.h" + +#include <QtCore/QString> + +int xi = 10; + +int freefunc2(int a) { return a; } + +int freefunc2(double) +{ return 1; } + +int freefunc2(const QString &) +{ return 1; } + +void here() { + test::Dummy d; + d; +} |