summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/Parallel/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/Parallel/item.cpp')
-rw-r--r--Tests/QtAutogen/Parallel/item.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/QtAutogen/Parallel/item.cpp b/Tests/QtAutogen/Parallel/item.cpp
new file mode 100644
index 0000000..3d1fbe7
--- /dev/null
+++ b/Tests/QtAutogen/Parallel/item.cpp
@@ -0,0 +1,20 @@
+#include "item.hpp"
+// Include ui_view.h in source and header
+#include <ui_view.h>
+
+class MocLocal : public QObject
+{
+ Q_OBJECT;
+
+public:
+ MocLocal() = default;
+ ~MocLocal() = default;
+};
+
+void Item::go()
+{
+ Ui_View ui;
+ MocLocal obj;
+}
+
+#include "item.moc"