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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 765 jeremybenn
// Test to make sure the minimal invocation works.
2
 
3
public class invoke
4
{
5
  public static native int val ();
6
 
7
  static
8
  {
9
    System.out.println ("trying...");
10
    System.loadLibrary ("invoke");
11
    System.out.println ("loaded");
12
  }
13
 
14
  public static void main (String[] args)
15
  {
16
    System.out.println (val ());
17
  }
18
}

powered by: WebSVN 2.1.0

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