Commit e6a8345b by Tom Tromey Committed by Tom Tromey

For PR java/4766:

	* libjava.compile/PR4766.java: New file.

From-SVN: r48209
parent 56b8325e
2001-12-20 Tom Tromey <tromey@redhat.com>
For PR java/4766:
* libjava.compile/PR4766.java: New file.
2001-12-20 Andrew Haley <aph@redhat.com>
* libjava.lang/FileHandleGcTest.out: New file.
......
// Test that bytecode generation works even when `finally' clause
// doesn't return normally.
public class PR4766
{
public static int myfunction()
{
try
{
System.out.println ("hi");
}
catch( Exception e )
{
e.printStackTrace();
}
finally
{
return 0;
}
}
public static void main (String[] args)
{
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment