fix for bug 901706

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-18 09:10:23 +00:00
commit a3a1db9f10
2 changed files with 30 additions and 0 deletions

View file

@ -109,3 +109,28 @@ D getD(D a) {
%}
%template() auto_ptr<A>;
/***** Another strange case, member var + opaque, bug #901706 ******/
%{
class BB {
friend class AA;
protected:
BB(int a) { this->a = a; };
BB() {};
int a;
};
%}
%inline %{
class AA {
public:
AA(){}
BB innerObj;
};
%}