diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-12-08 17:24:52 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-12-13 12:48:28 (GMT) |
commit | 0af9da29e487f0a6c60c379f0773a68b40ce2625 (patch) | |
tree | 1183f13f668dca872829610a02fdde54c6f65803 /Tests/QtAutogen/MocSkipSource/skipMoc.cpp | |
parent | f658bdaa7c7899a46caf402d4114999019897d46 (diff) | |
download | CMake-0af9da29e487f0a6c60c379f0773a68b40ce2625.zip CMake-0af9da29e487f0a6c60c379f0773a68b40ce2625.tar.gz CMake-0af9da29e487f0a6c60c379f0773a68b40ce2625.tar.bz2 |
Autogen: Tests: Separate MocSkipSource test
Diffstat (limited to 'Tests/QtAutogen/MocSkipSource/skipMoc.cpp')
-rw-r--r-- | Tests/QtAutogen/MocSkipSource/skipMoc.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/QtAutogen/MocSkipSource/skipMoc.cpp b/Tests/QtAutogen/MocSkipSource/skipMoc.cpp new file mode 100644 index 0000000..c915334 --- /dev/null +++ b/Tests/QtAutogen/MocSkipSource/skipMoc.cpp @@ -0,0 +1,16 @@ + +#include "qItemA.hpp" +#include "qItemB.hpp" +#include "qItemC.hpp" +#include "qItemD.hpp" + +int main(int, char**) +{ + QItemA itemA; + QItemB itemB; + QItemC itemC; + QItemD itemD; + + // Fails to link if the symbol is not present. + return 0; +} |