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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [anonarray3.java] - Rev 765

Compare with Previous | Blame | View Log

// Class anonarray3
// Generated on Tue Feb  8 19:18:10 PST 2000
//
 
class anonarray3 {
  private static final int[] foo (int x) {
      return new int[] { x+1 };
  }
  public static void main (String[] arg)
  {
    System.out.println (foo (34)[0]);
  }
}
 

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.