mirror of https://github.com/swig/swig
multiple inheritance and ignored base classes test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e6f9d4a7aa
commit
219e914125
|
@ -0,0 +1,32 @@
|
|||
|
||||
import multiple_inheritance.*;
|
||||
|
||||
public class multiple_inheritance_runme {
|
||||
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("multiple_inheritance");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String argv[]) {
|
||||
FooBar fooBar = new FooBar();
|
||||
fooBar.foo();
|
||||
|
||||
IgnoreDerived1 ignoreDerived1 = new IgnoreDerived1();
|
||||
ignoreDerived1.bar();
|
||||
|
||||
IgnoreDerived2 ignoreDerived2 = new IgnoreDerived2();
|
||||
ignoreDerived2.bar();
|
||||
|
||||
IgnoreDerived3 ignoreDerived3 = new IgnoreDerived3();
|
||||
ignoreDerived3.bar();
|
||||
|
||||
IgnoreDerived4 ignoreDerived4 = new IgnoreDerived4();
|
||||
ignoreDerived4.bar();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue