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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
public class longfield
2
{
3
  long lval = 232300;
4
  boolean bval = true;
5
  String sval = "maude";
6
 
7
  public native void doitc ();
8
 
9
  public void doitj()
10
  {
11
    System.out.println(lval);
12
    System.out.println(bval);
13
    System.out.println(sval);
14
  }
15
 
16
  public static void main(String[] args)
17
  {
18
    longfield f = new longfield();
19
    f.doitc();
20
    f.doitj();
21
  }
22
}

powered by: WebSVN 2.1.0

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