diff options
Diffstat (limited to 'Tests/QtAutomoc/abc.cpp')
-rw-r--r-- | Tests/QtAutomoc/abc.cpp | 4 |
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" |