Retro68/gcc/libjava/testsuite/libjava.jni/PR18116.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

17 lines
302 B
Java

// PR18116.java - Test RegisterNatives with more complex signatures.
public class PR18116
{
static
{
System.loadLibrary ("PR18116");
}
public static native int doit (java.lang.String s);
public static void main (String[] args)
{
System.out.println (doit ("Hello World!"));
}
}