Fix symbol table bug with combinations of using directives and using declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e4a3a004ae
commit
1ce0058256
5 changed files with 146 additions and 0 deletions
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
import using_directive_and_declaration.*;
|
||||
|
||||
public class using_directive_and_declaration_runme {
|
||||
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("using_directive_and_declaration");
|
||||
} 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[])
|
||||
{
|
||||
using_directive_and_declaration.useit1(new Thing1());
|
||||
using_directive_and_declaration.useit2(new Thing2());
|
||||
using_directive_and_declaration.useit3(new Thing3());
|
||||
using_directive_and_declaration.useit4(new Thing4());
|
||||
using_directive_and_declaration.useit5(new Thing5());
|
||||
Thing6a t6a = new Thing6a();
|
||||
t6a.a();
|
||||
Thing6 t6b = new Thing6();
|
||||
t6b.b();
|
||||
using_directive_and_declaration.useit6(t6a, t6b);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue