From f1e8e737c97d4ae83095cc45d1b2920b51337004 Mon Sep 17 00:00:00 2001 From: Leandro Melo Date: Mon, 4 Oct 2010 17:07:03 +0200 Subject: Tests: Add project with suggestions for testing the C++ tools. --- tests/manual/cplusplus-tools/detail/source.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/manual/cplusplus-tools/detail/source.cpp (limited to 'tests/manual/cplusplus-tools/detail/source.cpp') 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 + +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; +} -- cgit v1.2.1