diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-08-06 13:22:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-10 17:21:34 (GMT) |
commit | e4f508e42397549cd966e47349d4030cb793c354 (patch) | |
tree | 2d18a87082f3aa21b0f1115e9c54b07a21bac3dc /Tests/QtAutogen/sameName/main.cpp | |
parent | 4e9b97d7397fd526e6b4e4ce43dd305cb8341ac8 (diff) | |
download | CMake-e4f508e42397549cd966e47349d4030cb793c354.zip CMake-e4f508e42397549cd966e47349d4030cb793c354.tar.gz CMake-e4f508e42397549cd966e47349d4030cb793c354.tar.bz2 |
Tests/QtAutogen: Test same moc/qrc source names in different directories
Diffstat (limited to 'Tests/QtAutogen/sameName/main.cpp')
-rw-r--r-- | Tests/QtAutogen/sameName/main.cpp | 16 |
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; +} |