summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/skipMoc.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-08-22 17:09:50 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-08-22 17:10:31 (GMT)
commit13bb716f046e33d9dbd20ac2156deb0f677797d3 (patch)
tree0ee34ff60e8fe16a2c48cb6f138ea061b63e400e /Tests/QtAutogen/skipMoc.cpp
parent727247c31629b12a3e3eca44462250e21c6a54c8 (diff)
downloadCMake-13bb716f046e33d9dbd20ac2156deb0f677797d3.zip
CMake-13bb716f046e33d9dbd20ac2156deb0f677797d3.tar.gz
CMake-13bb716f046e33d9dbd20ac2156deb0f677797d3.tar.bz2
Autogen: Fix and extend SKIP_AUTOMOC test
Diffstat (limited to 'Tests/QtAutogen/skipMoc.cpp')
-rw-r--r--Tests/QtAutogen/skipMoc.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/QtAutogen/skipMoc.cpp b/Tests/QtAutogen/skipMoc.cpp
index 85305f5..d6b292f 100644
--- a/Tests/QtAutogen/skipMoc.cpp
+++ b/Tests/QtAutogen/skipMoc.cpp
@@ -2,12 +2,14 @@
#include "skipSource/qItemA.hpp"
#include "skipSource/qItemB.hpp"
#include "skipSource/qItemC.hpp"
+#include "skipSource/qItemD.hpp"
int main(int, char**)
{
QItemA itemA;
- QItemA itemB;
- QItemA itemC;
+ QItemB itemB;
+ QItemC itemC;
+ QItemD itemD;
// Fails to link if the symbol is not present.
return 0;