PageRenderTime 19ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/java/multiple_inheritance_runme.java

#
Java | 32 lines | 23 code | 9 blank | 0 comment | 0 complexity | f5ee2f196345b64d81455c411e4a353c MD5 | raw file
 1
 2import multiple_inheritance.*;
 3
 4public class multiple_inheritance_runme {
 5
 6  static {
 7    try {
 8	System.loadLibrary("multiple_inheritance");
 9    } catch (UnsatisfiedLinkError e) {
10      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);
11      System.exit(1);
12    }
13  }
14
15  public static void main(String argv[]) {
16    FooBar fooBar = new FooBar();
17    fooBar.foo();
18
19    IgnoreDerived1 ignoreDerived1 = new IgnoreDerived1();
20    ignoreDerived1.bar();
21
22    IgnoreDerived2 ignoreDerived2 = new IgnoreDerived2();
23    ignoreDerived2.bar();
24
25    IgnoreDerived3 ignoreDerived3 = new IgnoreDerived3();
26    ignoreDerived3.bar();
27
28    IgnoreDerived4 ignoreDerived4 = new IgnoreDerived4();
29    ignoreDerived4.bar();
30  }
31}
32