diff options
Diffstat (limited to 'Tests/QtAutogen/complex/yaf.cpp')
-rw-r--r-- | Tests/QtAutogen/complex/yaf.cpp | 19 |
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 0000000000..70e26aa95f --- /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" |