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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// Test a simple static function with an `int' argument.
2
 
3
public class simple_int
4
{
5
  public static native int nat (int z);
6
 
7
  static
8
  {
9
    System.loadLibrary ("simple_int");
10
  }
11
 
12
  public static void main (String[] args)
13
  {
14
    System.out.println (nat (23));
15
  }
16
}

powered by: WebSVN 2.1.0

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