source: trunk/src/gcc/libjava/testsuite/libjava.jni/register.java@ 2

Last change on this file since 2 was 2, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 251 bytes
Line 
1// register.java - Test RegisterNatives.
2
3public class register
4{
5 static
6 {
7 System.loadLibrary ("register");
8 }
9
10 public static native int doit (int z);
11
12 public static void main (String[] args)
13 {
14 System.out.println (doit (24));
15 }
16}
Note: See TracBrowser for help on using the repository browser.