diff options
Diffstat (limited to 'Tests/QtAutogen/sameName/item.cpp')
-rw-r--r-- | Tests/QtAutogen/sameName/item.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/QtAutogen/sameName/item.cpp b/Tests/QtAutogen/sameName/item.cpp index e013cf3..c614a84 100644 --- a/Tests/QtAutogen/sameName/item.cpp +++ b/Tests/QtAutogen/sameName/item.cpp @@ -1,5 +1,17 @@ #include "item.hpp" +class MocLocal : public QObject +{ + Q_OBJECT; + +public: + MocLocal() = default; + ~MocLocal() = default; +}; + void Item::go() { + MocLocal obj; } + +#include "item.moc" |