diff options
Diffstat (limited to 'Tests/QtAutogen/SameName/main.cpp')
-rw-r--r-- | Tests/QtAutogen/SameName/main.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Tests/QtAutogen/SameName/main.cpp b/Tests/QtAutogen/SameName/main.cpp new file mode 100644 index 000000000..92f15cd5f --- /dev/null +++ b/Tests/QtAutogen/SameName/main.cpp @@ -0,0 +1,27 @@ +#include "aaa/bbb/item.hpp" +#include "aaa/item.hpp" +#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) +{ + // 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; +} |