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
23
Examples/test-suite/multiple_inheritance.i
Normal file
23
Examples/test-suite/multiple_inheritance.i
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* This was broken in the perl module. See bug 962115
|
||||
It tests basic multiple inheritance */
|
||||
|
||||
%module multiple_inheritance
|
||||
|
||||
%inline %{
|
||||
|
||||
class Bar {
|
||||
public:
|
||||
virtual int bar() { return 1; }
|
||||
};
|
||||
|
||||
class Foo {
|
||||
public:
|
||||
virtual int foo() { return 2; }
|
||||
};
|
||||
|
||||
class FooBar : public Foo, public Bar {
|
||||
public:
|
||||
virtual int fooBar() { return 3; }
|
||||
};
|
||||
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue