mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
22 lines
315 B
Java
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();
|
||
|
|
}
|
||
|
|
}
|