From 08bcc159d9e63cd48eb12895f027e5d84d2ccd65 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 15 Mar 2002 19:17:39 +0000 Subject: For PR java/5902: 2002-03-15 Eric Blake For PR java/5902: * libjava.compile/PR5902.java: Does not need to execute. For PR java/5913: * libjava.compile/PR5913.java: Ditto. From-SVN: r50829 --- libjava/testsuite/ChangeLog | 7 +++++++ libjava/testsuite/libjava.compile/PR5902.java | 5 +---- libjava/testsuite/libjava.compile/PR5913.java | 10 +++------- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'libjava/testsuite') diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index 315677c..888546b 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2002-03-15 Eric Blake + + 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 Test for PR java/5848: diff --git a/libjava/testsuite/libjava.compile/PR5902.java b/libjava/testsuite/libjava.compile/PR5902.java index 52fdfa8..1a78a26 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 0ae68be..4c0c74d 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; } -- cgit v1.1