URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [cxxtest.java] - Rev 767
Go to most recent revision | Compare with Previous | Blame | View Log
// Test for array field lookup. public class cxxtest { // A field for us to look up. public Object[] F = new Object[7]; public native Object[] fetch (); public void doit () { System.out.println (F == fetch ()); } public static void main (String[] args) { cxxtest q = new cxxtest (); q.doit (); } static { System.loadLibrary ("cxxtest"); } }
Go to most recent revision | Compare with Previous | Blame | View Log