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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [anonarray3.java] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
// Class anonarray3
2
// Generated on Tue Feb  8 19:18:10 PST 2000
3
//
4
 
5
class anonarray3 {
6
  private static final int[] foo (int x) {
7
      return new int[] { x+1 };
8
  }
9
  public static void main (String[] arg)
10
  {
11
    System.out.println (foo (34)[0]);
12
  }
13
}

powered by: WebSVN 2.1.0

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