Additional test for PR gcj/148:
2000-04-14 Bryce McKinlay <bryce@albatross.co.nz> Additional test for PR gcj/148: * libjava.compile/assignment_2.java: New file. From-SVN: r33144
This commit is contained in:
parent
4b5e8abe18
commit
73e902b572
@ -1,3 +1,8 @@
|
|||||||
|
2000-04-14 Bryce McKinlay <bryce@albatross.co.nz>
|
||||||
|
|
||||||
|
Additional test for PR gcj/148:
|
||||||
|
* libjava.compile/assignment_2.java: New file.
|
||||||
|
|
||||||
2000-03-28 Bryce McKinlay <bryce@albatross.co.nz>
|
2000-03-28 Bryce McKinlay <bryce@albatross.co.nz>
|
||||||
|
|
||||||
Test case for PR libgcj/184:
|
Test case for PR libgcj/184:
|
||||||
|
32
libjava/testsuite/libjava.compile/assignment_2.java
Normal file
32
libjava/testsuite/libjava.compile/assignment_2.java
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
|
||||||
|
/**
|
||||||
|
* assignment_2.java
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Created: Thu Apr 13 16:48:40 2000
|
||||||
|
*
|
||||||
|
* @author Oliver Brandt
|
||||||
|
* @version
|
||||||
|
*/
|
||||||
|
|
||||||
|
public class assignment_2 {
|
||||||
|
public assignment_2 ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public int foo ()
|
||||||
|
{
|
||||||
|
int result;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
result = 0;
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}// test
|
Loading…
Reference in New Issue
Block a user