OSDN Git Service

* configure.host (hppa*-*): Set 'enable_hash_synchronization_default'
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.cni / shortfield.java
1 class shortfieldbase
2 {
3    short modCount;
4 }
5
6 public class shortfield extends shortfieldbase
7 {
8   short size__;
9   int data;
10   
11   native void ouch ();
12   
13   public static void main (String[] s)
14   {
15     shortfield f = new shortfield();
16     f.modCount = 99;
17     f.size__ = 2;
18     f.data = 0x12345678;
19     f.ouch();
20   }
21 }