add infinity loop case

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-06-17 01:10:10 +00:00
commit bd4b9c20ce
2 changed files with 21 additions and 0 deletions

View file

@ -15,6 +15,22 @@ public:
return data;
}
};
class Foo
{
};
typedef Foo FooBar;
class CBaz
{
public:
typedef FooBar Foo;
};
%}

View file

@ -1,5 +1,9 @@
%module using2
%warnfilter(315);
using ::baz;
%warnfilter(801) X::_FooImpl; /* Ruby, wrong class name */
%inline %{
@ -19,4 +23,5 @@ using Y::Foo;
int spam(Foo::value_type x) { return x; }
%}