summaryrefslogtreecommitdiffstats
path: root/libjava
diff options
context:
space:
mode:
authorericb <ericb@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-15 19:17:39 +0000
committerericb <ericb@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-15 19:17:39 +0000
commit87a9059882e0dd4fa7806a1100aa7b6bc55e38a9 (patch)
tree49cc95d42b90200ae56e07b8a6f668dd724e15d9 /libjava
parent075f58559a7264794ad17be9f1965448038abd73 (diff)
downloadppe42-gcc-87a9059882e0dd4fa7806a1100aa7b6bc55e38a9.tar.gz
ppe42-gcc-87a9059882e0dd4fa7806a1100aa7b6bc55e38a9.zip
2002-03-15 Eric Blake <ebb9@email.byu.edu>
For PR java/5902: * libjava.compile/PR5902.java: Does not need to execute. For PR java/5913: * libjava.compile/PR5913.java: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50829 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/testsuite/ChangeLog7
-rw-r--r--libjava/testsuite/libjava.compile/PR5902.java5
-rw-r--r--libjava/testsuite/libjava.compile/PR5913.java10
3 files changed, 11 insertions, 11 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog
index 315677ce60b..888546b10a3 100644
--- a/libjava/testsuite/ChangeLog
+++ b/libjava/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2002-03-15 Eric Blake <ebb9@email.byu.edu>
+
+ For PR java/5902:
+ * libjava.compile/PR5902.java: Does not need to execute.
+ For PR java/5913:
+ * libjava.compile/PR5913.java: Ditto.
+
2002-03-12 Tom Tromey <tromey@redhat.com>
Test for PR java/5848:
diff --git a/libjava/testsuite/libjava.compile/PR5902.java b/libjava/testsuite/libjava.compile/PR5902.java
index 52fdfa868db..1a78a269217 100644
--- a/libjava/testsuite/libjava.compile/PR5902.java
+++ b/libjava/testsuite/libjava.compile/PR5902.java
@@ -1,7 +1,4 @@
class PR5902
{
- public static void main(String[] args)
- {
- System.exit((019f == 19) ? 0 : 1);
- }
+ double d = 019f;
}
diff --git a/libjava/testsuite/libjava.compile/PR5913.java b/libjava/testsuite/libjava.compile/PR5913.java
index 0ae68be215e..4c0c74d8f11 100644
--- a/libjava/testsuite/libjava.compile/PR5913.java
+++ b/libjava/testsuite/libjava.compile/PR5913.java
@@ -1,10 +1,6 @@
class PR5913
{
- public static void main(String[] args)
- {
- boolean test1 = ("" + 1) instanceof String;
- // This also tests literal parsing, as mentioned in PR 5902.
- boolean test2 = "" + 0x1instanceof String;
- System.exit((test1 && test2) ? 0 : 1);
- }
+ boolean test1 = ("" + 1) instanceof String;
+ // This also tests literal parsing, as mentioned in PR 5902.
+ boolean test2 = "" + 0x1instanceof String;
}
OpenPOWER on IntegriCloud