summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/SameName/main.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-02-05 13:58:37 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-02-05 14:51:53 (GMT)
commit1f802295f2e42fd38477f22d7275ebe166a48f10 (patch)
tree42521d1e8c8bb9b53b28c1b0a588ed1195f892f6 /Tests/QtAutogen/SameName/main.cpp
parentf47d980f73a065485bb7090a850f2ac4044c2dfd (diff)
downloadCMake-1f802295f2e42fd38477f22d7275ebe166a48f10.zip
CMake-1f802295f2e42fd38477f22d7275ebe166a48f10.tar.gz
CMake-1f802295f2e42fd38477f22d7275ebe166a48f10.tar.bz2
Autogen: Extend the SameName test with same name but different extension files
Diffstat (limited to 'Tests/QtAutogen/SameName/main.cpp')
-rw-r--r--Tests/QtAutogen/SameName/main.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/Tests/QtAutogen/SameName/main.cpp b/Tests/QtAutogen/SameName/main.cpp
index a4ffcb3..92f15cd 100644
--- a/Tests/QtAutogen/SameName/main.cpp
+++ b/Tests/QtAutogen/SameName/main.cpp
@@ -3,14 +3,25 @@
#include "bbb/aaa/item.hpp"
#include "bbb/item.hpp"
#include "ccc/item.hpp"
+#include "item.hpp"
+#include "object.h"
+#include "object.h++"
+#include "object.hpp"
+#include "object.hxx"
int main(int argv, char** args)
{
- // Object instances
+ // Item instances
+ ::Item item;
::aaa::Item aaa_item;
::aaa::bbb::Item aaa_bbb_item;
::bbb::Item bbb_item;
::bbb::aaa::Item bbb_aaa_item;
::ccc::Item ccc_item;
+ // Object instances
+ ::Object_h obj_h;
+ ::Object_hplpl obj_hplpl;
+ ::Object_hpp obj_hpp;
+ ::Object_hxx obj_hxx;
return 0;
}