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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
public class G19990303_02
2
{
3
  public static void main (String[] args)
4
  {
5
    int i = -1;
6
    try
7
      {
8
        System.out.println ("Pass 1");
9
        int[][][] arrayInt = new int[i][1][1];
10
        int ii = arrayInt[i - 1][0][0];
11
        System.out.println ("Pass 2");
12
      }
13
    catch (NegativeArraySizeException e)
14
      {
15
        System.out.println ("Pass NegativeArraySizeException");
16
      }
17
    System.out.println ("Pass 3");
18
  }
19
}

powered by: WebSVN 2.1.0

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