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] - Rev 775

Go to most recent revision | Compare with Previous | Blame | View Log

public class G19990310_01
{
  public static void main (String[] args)
  {
    int i = 0;
    try
      {
	System.out.println ("pass 1");
	i++;
      }
    finally
      {
	System.out.println ("pass 2");
	i++;
      }
    if (i == 2)
      System.out.println ("OK");
    else
      System.out.println ("NG i = " + i);
  }
}
 

Go to most recent revision | 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.