summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-25 17:54:55 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-25 17:54:55 +0000
commit1408b4f1267c3ddc0f1765dcfc848d78cafad027 (patch)
tree5818a811d42859d7ee37a678b3f17339a1a33fc8
parent6284c5cda11ce43f50f0f71ca3de245003291fe6 (diff)
downloadgcc-1408b4f1267c3ddc0f1765dcfc848d78cafad027.tar.gz
* libjava.lang/G19990310_01.out: New file.
* libjava.lang/G19990310_01.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28865 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libjava/testsuite/ChangeLog5
-rw-r--r--libjava/testsuite/libjava.lang/G19990310_01.java21
-rw-r--r--libjava/testsuite/libjava.lang/G19990310_01.out3
3 files changed, 29 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog
index 547b548b985..e1c569707a7 100644
--- a/libjava/testsuite/ChangeLog
+++ b/libjava/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+1999-08-25 Tom Tromey <tromey@cygnus.com>
+
+ * libjava.lang/G19990310_01.out: New file.
+ * libjava.lang/G19990310_01.java: New file.
+
1999-08-17 Tom Tromey <tromey@cygnus.com>
From Bryce McKinlay:
diff --git a/libjava/testsuite/libjava.lang/G19990310_01.java b/libjava/testsuite/libjava.lang/G19990310_01.java
new file mode 100644
index 00000000000..72caece57f4
--- /dev/null
+++ b/libjava/testsuite/libjava.lang/G19990310_01.java
@@ -0,0 +1,21 @@
+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);
+ }
+}
diff --git a/libjava/testsuite/libjava.lang/G19990310_01.out b/libjava/testsuite/libjava.lang/G19990310_01.out
new file mode 100644
index 00000000000..36a538b4a90
--- /dev/null
+++ b/libjava/testsuite/libjava.lang/G19990310_01.out
@@ -0,0 +1,3 @@
+pass 1
+pass 2
+OK