swig/Examples/test-suite/multiple_inheritance.i
John Lenz 0fb8c59673 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
2004-08-23 07:06:01 +00:00

23 lines
358 B
OpenEdge ABL

/* 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; }
};
%}