gcc/libjava/testsuite/libjava.jni/PR15133.java
Ranjit Mathew 55ce9c52a2 re PR java/15133 (gcjh generates wrong method signatures)
* 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
2004-04-30 18:19:37 +00:00

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);
}
}