summaryrefslogtreecommitdiff
path: root/Examples/test-suite/java/derived_nested_runme.java
blob: 1a9c6241611fb04ff9af26487b3775e957035c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

import derived_nested.*;

public class derived_nested_runme {

  static {
    try {
	System.loadLibrary("derived_nested");
    } 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[]) {
    BB outer = new BB();
    BB.DD d = new BB.DD();
    BB.EE e = new BB.EE();
    outer.getFf_instance().setZ(outer.getFf_instance().getX());
    outer.useEE(e);
  }
}