Fix forward class declaration in a class when used as a base
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6c80f765ca
commit
459e083b3d
4 changed files with 15 additions and 1 deletions
10
Examples/test-suite/class_forward.i
Normal file
10
Examples/test-suite/class_forward.i
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
%module class_forward
|
||||
|
||||
%inline %{
|
||||
struct A {
|
||||
class B;
|
||||
};
|
||||
class C : public A {
|
||||
};
|
||||
%}
|
||||
|
||||
|
|
@ -126,6 +126,7 @@ CPP_TEST_CASES += \
|
|||
casts \
|
||||
char_binary \
|
||||
char_strings \
|
||||
class_forward \
|
||||
class_ignore \
|
||||
class_scope_weird \
|
||||
compactdefaultargs \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue