summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutomoc/abc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutomoc/abc.cpp')
-rw-r--r--Tests/QtAutomoc/abc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/QtAutomoc/abc.cpp b/Tests/QtAutomoc/abc.cpp
index 25071cd..4bbc769 100644
--- a/Tests/QtAutomoc/abc.cpp
+++ b/Tests/QtAutomoc/abc.cpp
@@ -13,6 +13,7 @@
#include "abc.h"
+#include "abc_p.h"
#include <stdio.h>
@@ -35,11 +36,14 @@ void Abc::doAbc()
{
PrintAbc pa;
pa.print();
+ AbcP abcP;
+ abcP.doAbcP();
}
// check that including the moc file for the cpp file and the header works:
#include "abc.moc"
#include "moc_abc.cpp"
+#include "moc_abc_p.cpp"
// check that including a moc file from another header works:
#include "moc_xyz.cpp"