summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocSkipSource/skipMoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/MocSkipSource/skipMoc.cpp')
-rw-r--r--Tests/QtAutogen/MocSkipSource/skipMoc.cpp16
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;
+}