55ce9c52a2
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use additional option "-Wmissing-prototypes" for compiling C sources. Print actual filename for pass/fail rather than $name.c. * testsuite/libjava.jni/PR15133.java: New testcase file. * testsuite/libjava.jni/PR15133.c: Likewise. * testsuite/libjava.jni/PR15133.out: Likewise. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r81358
15 lines
264 B
Java
15 lines
264 B
Java
/* Test case for PR java/15133 */
|
|
public class PR15133
|
|
{
|
|
public void printIt (String dummy) { }
|
|
|
|
public native void printIt (int num);
|
|
|
|
public static void main (String[] args)
|
|
{
|
|
System.loadLibrary ("PR15133");
|
|
|
|
new PR15133( ).printIt( 1729);
|
|
}
|
|
}
|