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] - Rev 790

Go to most recent revision | Compare with Previous | Blame | View Log

// Test a simple static function with an `int' argument.
 
public class simple_int
{
  public static native int nat (int z);
 
  static
  {
    System.loadLibrary ("simple_int");
  }
 
  public static void main (String[] args)
  {
    System.out.println (nat (23));
  }
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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