/trunk/Examples/test-suite/using_namespace_loop.i

# · Swig · 16 lines · 13 code · 3 blank · 0 comment · 0 complexity · b4e8e1ecf7f7ae7de001a363689f4f20 MD5 · raw file

  1. %module using_namespace_loop
  2. %inline {
  3. namespace A {
  4. struct Foo;
  5. }
  6. namespace B {
  7. using namespace A;
  8. }
  9. namespace A {
  10. using namespace B;
  11. typedef Foo Bar;
  12. }
  13. }