gcc/libjava/testsuite/libjava.cni/shortfield.java
Tom Tromey 6932a1994e libjava.exp (gcj_invoke): Moved...
* lib/libjava.exp (gcj_invoke): Moved...
	* libjava.jni/jni.exp: ...from here.

	* libjava.cni/shortfield.out: New file.
	* libjava.cni/shortfield.java: New file.
	* libjava.cni/natshortfield.cc: New file.
	* libjava.cni/natlongfield.cc: New file.
	* libjava.cni/longfield.out: New file.
	* libjava.cni/longfield.java: New file.

	* libjava.cni/cni.exp: New file.

From-SVN: r64702
2003-03-22 07:14:53 +00:00

22 lines
315 B
Java

class shortfieldbase
{
short modCount;
}
public class shortfield extends shortfieldbase
{
short size__;
int data;
native void ouch ();
public static void main (String[] s)
{
shortfield f = new shortfield();
f.modCount = 99;
f.size__ = 2;
f.data = 0x12345678;
f.ouch();
}
}