Three new broken test cases created to test various patches in the patch list.
Bugs 909389, 962115, and 899332. These bugs all have fixes in the patch system. Patches 903150, 914926, and 962168. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2f18b2a9dc
commit
0fb8c59673
6 changed files with 102 additions and 0 deletions
14
Examples/test-suite/derived_nested.i
Normal file
14
Examples/test-suite/derived_nested.i
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/* This testcase tests nested derived classes.
|
||||
This was reported in bug #909389 */
|
||||
|
||||
%module derived_nested
|
||||
|
||||
%inline %{
|
||||
|
||||
class A { int x; };
|
||||
class B {
|
||||
class C { int y; }; //generates a warning
|
||||
class D : public A { int z; }; //generates an error
|
||||
};
|
||||
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue