summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/sameName/main.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-15 12:59:46 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-15 12:59:46 (GMT)
commit33d4aff50d50907d05b49c92ed01376264d84389 (patch)
tree2e69f1fdcf0907c816f60c3c1f352facbf0a8340 /Tests/QtAutogen/sameName/main.cpp
parentd47abe40b6532095fa28f5f1305e2ecad5feb6b7 (diff)
parent61a607e8d43e0d02ff80cca6e60441f56a6741b5 (diff)
downloadCMake-33d4aff50d50907d05b49c92ed01376264d84389.zip
CMake-33d4aff50d50907d05b49c92ed01376264d84389.tar.gz
CMake-33d4aff50d50907d05b49c92ed01376264d84389.tar.bz2
Merge topic 'autogen-same-name'
61a607e8 Help: Document AUTORCC behavior for same .qrc name case e4f508e4 Tests/QtAutogen: Test same moc/qrc source names in different directories 4e9b97d7 QtAutogen: Allow multiple qrc files with the same name 41c9e14a QtAutogen: Allow multiple moc files with the same name 3c3b37b0 QtAutogen: Use std:: instead of ::std:: 0a5dd3c7 cmFilePathUuid: Add class to generate deterministic unique file names
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;
+}