Fix for bug 3286333: infinite recursion with mutual "using namespace" clauses.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8f07b3f851
commit
5fbcb711eb
5 changed files with 27 additions and 0 deletions
|
|
@ -425,6 +425,7 @@ CPP_TEST_CASES += \
|
|||
using_extend \
|
||||
using_inherit \
|
||||
using_namespace \
|
||||
using_namespace_loop \
|
||||
using_pointers \
|
||||
using_private \
|
||||
using_protected \
|
||||
|
|
|
|||
14
Examples/test-suite/using_namespace_loop.i
Normal file
14
Examples/test-suite/using_namespace_loop.i
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
%module using_namespace_loop
|
||||
|
||||
%inline {
|
||||
namespace A {}
|
||||
|
||||
namespace B {
|
||||
using namespace A;
|
||||
}
|
||||
|
||||
namespace A {
|
||||
using namespace B;
|
||||
typedef Foo Bar;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue