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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
public class G19990310_01
2
{
3
  public static void main (String[] args)
4
  {
5
    int i = 0;
6
    try
7
      {
8
        System.out.println ("pass 1");
9
        i++;
10
      }
11
    finally
12
      {
13
        System.out.println ("pass 2");
14
        i++;
15
      }
16
    if (i == 2)
17
      System.out.println ("OK");
18
    else
19
      System.out.println ("NG i = " + i);
20
  }
21
}

powered by: WebSVN 2.1.0

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