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:
parent
f114279074
commit
a3a1db9f10
2 changed files with 30 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue