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 f922615..25071cd 100644
--- a/Tests/QtAutomoc/abc.cpp
+++ b/Tests/QtAutomoc/abc.cpp
@@ -37,5 +37,9 @@ void Abc::doAbc()
pa.print();
}
+// check that including the moc file for the cpp file and the header works:
#include "abc.moc"
#include "moc_abc.cpp"
+
+// check that including a moc file from another header works:
+#include "moc_xyz.cpp"