aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/moc_hpp/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/moc_hpp/object.cpp')
-rw-r--r--tests/manual/moc_hpp/object.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/manual/moc_hpp/object.cpp b/tests/manual/moc_hpp/object.cpp
new file mode 100644
index 000000000..8c091c58c
--- /dev/null
+++ b/tests/manual/moc_hpp/object.cpp
@@ -0,0 +1,13 @@
+#include "object.h"
+#include <cstdio>
+
+Object::Object(QObject *parent)
+ : QObject(parent)
+{}
+
+int main()
+{
+ Object obj;
+ printf("Hello World\n");
+}
+