summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutomoc/main.cpp
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-11-22 18:13:03 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-11-22 19:51:59 (GMT)
commit80dfbc99f4b04b5eaea9111fa014f07603a8db16 (patch)
tree86a17591d0c44505778394dea2251a1a23dcb74e /Tests/QtAutomoc/main.cpp
parent72bb058e92167a272b40b4b710fc2fe41b1fc8fe (diff)
downloadCMake-80dfbc99f4b04b5eaea9111fa014f07603a8db16.zip
CMake-80dfbc99f4b04b5eaea9111fa014f07603a8db16.tar.gz
CMake-80dfbc99f4b04b5eaea9111fa014f07603a8db16.tar.bz2
automoc: add a test for including both abc.moc and moc_abc.cpp
Alex
Diffstat (limited to 'Tests/QtAutomoc/main.cpp')
-rw-r--r--Tests/QtAutomoc/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/QtAutomoc/main.cpp b/Tests/QtAutomoc/main.cpp
index 58e2a19..5414daf 100644
--- a/Tests/QtAutomoc/main.cpp
+++ b/Tests/QtAutomoc/main.cpp
@@ -45,6 +45,7 @@
#include "foo.h"
#include "blub.h"
#include "sub/bar.h"
+#include "abc.h"
int main(int argv, char **args)
{
@@ -66,5 +67,8 @@ int main(int argv, char **args)
Bar bar;
bar.doBar();
+ Abc abc;
+ abc.doAbc();
+
return app.exec();
}