summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/Complex/yaf.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-12-14 13:21:21 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-12-14 13:21:28 (GMT)
commit7341930ade835ce48641b5415cdd3f738772edf2 (patch)
tree377585f108b61dbc8b28462f708360a6ac504205 /Tests/QtAutogen/Complex/yaf.cpp
parent671958d2884e2d2597362265620b73f43d414870 (diff)
parent540d08f4858ddbb8d0356f77f878b9fbb7af8f80 (diff)
downloadCMake-7341930ade835ce48641b5415cdd3f738772edf2.zip
CMake-7341930ade835ce48641b5415cdd3f738772edf2.tar.gz
CMake-7341930ade835ce48641b5415cdd3f738772edf2.tar.bz2
Merge topic 'autogen-separate-tests'
540d08f4 Autogen: Tests: Move QtAutoUicInterface test to QtAutogen/UicInterface b1504f9f Autogen: Tests: Separate RerunRccDepends test e9fcd154 Autogen: Tests: Separate RerunMocPlugin test 54b4ff2a Autogen: Tests: Separate RerunMocBasic test 4988746e Autogen: Tests: Separate Complex test 6ce6fd42 Autogen: Tests: Separate StaticLibraryCycle test 45b6776a Autogen: Tests: Separate SameName test d7868687 Autogen: Tests: Separate MacOsFW test ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1578
Diffstat (limited to 'Tests/QtAutogen/Complex/yaf.cpp')
-rw-r--r--Tests/QtAutogen/Complex/yaf.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/QtAutogen/Complex/yaf.cpp b/Tests/QtAutogen/Complex/yaf.cpp
new file mode 100644
index 0000000..70e26aa
--- /dev/null
+++ b/Tests/QtAutogen/Complex/yaf.cpp
@@ -0,0 +1,19 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+#include "yaf.h"
+#include "yaf_p.h"
+
+#include <stdio.h>
+
+Yaf::Yaf()
+{
+}
+
+void Yaf::doYaf()
+{
+ YafP yafP;
+ yafP.doYafP();
+}
+
+// check that including a moc file from a private header the wrong way works:
+#include "yaf_p.moc"