diff options
author | Bryce McKinlay <bryce@albatross.co.nz> | 2000-04-14 00:47:35 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2000-04-14 01:47:35 +0100 |
commit | 73e902b572f4819195c3bfc07ccf1a7ff6b2cc4d (patch) | |
tree | d7bb656afca8bae8356507d888e39c5e86cebdf7 | |
parent | 4b5e8abe18f9afc7a184e184182a609da1f819f0 (diff) | |
download | gcc-73e902b572f4819195c3bfc07ccf1a7ff6b2cc4d.zip gcc-73e902b572f4819195c3bfc07ccf1a7ff6b2cc4d.tar.gz gcc-73e902b572f4819195c3bfc07ccf1a7ff6b2cc4d.tar.bz2 |
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
-rw-r--r-- | libjava/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/assignment_2.java | 32 |
2 files changed, 37 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index eeae07f..f3b24dd 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -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> Test case for PR libgcj/184: diff --git a/libjava/testsuite/libjava.compile/assignment_2.java b/libjava/testsuite/libjava.compile/assignment_2.java new file mode 100644 index 0000000..38b58db --- /dev/null +++ b/libjava/testsuite/libjava.compile/assignment_2.java @@ -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 |