OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.cni/] [shortfield.java] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.