summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/Complex/yaf.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-12-08 19:28:17 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-12-13 12:50:18 (GMT)
commit4988746e76703269d76c3fb633bafc0767fafbe4 (patch)
treed569e2f21cc046fb89e6ad601872542c972b9e78 /Tests/QtAutogen/Complex/yaf.cpp
parent6ce6fd426ee7649a40c2f253dbc5f814650f0992 (diff)
downloadCMake-4988746e76703269d76c3fb633bafc0767fafbe4.zip
CMake-4988746e76703269d76c3fb633bafc0767fafbe4.tar.gz
CMake-4988746e76703269d76c3fb633bafc0767fafbe4.tar.bz2
Autogen: Tests: Separate Complex test
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"