summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogenRerun/mocRerun/main.cpp.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogenRerun/mocRerun/main.cpp.in')
-rw-r--r--Tests/QtAutogenRerun/mocRerun/main.cpp.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/QtAutogenRerun/mocRerun/main.cpp.in b/Tests/QtAutogenRerun/mocRerun/main.cpp.in
new file mode 100644
index 0000000..b37ff61
--- /dev/null
+++ b/Tests/QtAutogenRerun/mocRerun/main.cpp.in
@@ -0,0 +1,18 @@
+#include "test1.h"
+
+class Test2 : public QObject
+{
+ Q_OBJECT
+public slots:
+ void onTst1() {}
+};
+
+int main()
+{
+ Test1 test1;
+ Test2 test2;
+
+ return 0;
+}
+
+#include "main.moc"