summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/SameName/main.cpp
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-12-08 19:12:30 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-12-13 12:50:18 (GMT)
commit45b6776ab301f4b5ec51e27863ffe061b1a0d60a (patch)
treed5ab37a3cfee151068c2a540f166d0512061ea8a /Tests/QtAutogen/SameName/main.cpp
parentd7868687c814cded6319dd0cfd9fff5c737bf0f0 (diff)
downloadCMake-45b6776ab301f4b5ec51e27863ffe061b1a0d60a.zip
CMake-45b6776ab301f4b5ec51e27863ffe061b1a0d60a.tar.gz
CMake-45b6776ab301f4b5ec51e27863ffe061b1a0d60a.tar.bz2
Autogen: Tests: Separate SameName test
Diffstat (limited to 'Tests/QtAutogen/SameName/main.cpp')
-rw-r--r--Tests/QtAutogen/SameName/main.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/QtAutogen/SameName/main.cpp b/Tests/QtAutogen/SameName/main.cpp
new file mode 100644
index 0000000..a4ffcb3
--- /dev/null
+++ b/Tests/QtAutogen/SameName/main.cpp
@@ -0,0 +1,16 @@
+#include "aaa/bbb/item.hpp"
+#include "aaa/item.hpp"
+#include "bbb/aaa/item.hpp"
+#include "bbb/item.hpp"
+#include "ccc/item.hpp"
+
+int main(int argv, char** args)
+{
+ // Object instances
+ ::aaa::Item aaa_item;
+ ::aaa::bbb::Item aaa_bbb_item;
+ ::bbb::Item bbb_item;
+ ::bbb::aaa::Item bbb_aaa_item;
+ ::ccc::Item ccc_item;
+ return 0;
+}