summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/anonarray3.java
blob: 264365b1359a763c34aaf12d5ff0c75e92bb1ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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]);
  }
}