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:
parent
92f11f6c3e
commit
bd4b9c20ce
2 changed files with 21 additions and 0 deletions
|
|
@ -15,6 +15,22 @@ public:
|
|||
return data;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
class Foo
|
||||
{
|
||||
};
|
||||
|
||||
typedef Foo FooBar;
|
||||
|
||||
class CBaz
|
||||
{
|
||||
public:
|
||||
typedef FooBar Foo;
|
||||
};
|
||||
|
||||
|
||||
%}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue