OSDN Git Service

2002-03-15 Eric Blake <ebb9@email.byu.edu>
authorericb <ericb@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Mar 2002 19:17:39 +0000 (19:17 +0000)
committerericb <ericb@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Mar 2002 19:17:39 +0000 (19:17 +0000)
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

libjava/testsuite/ChangeLog
libjava/testsuite/libjava.compile/PR5902.java
libjava/testsuite/libjava.compile/PR5913.java

index 315677c..888546b 100644 (file)
@@ -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:
index 52fdfa8..1a78a26 100644 (file)
@@ -1,7 +1,4 @@
 class PR5902
 {
-  public static void main(String[] args)
-  {
-    System.exit((019f == 19) ? 0 : 1);
-  }
+  double d = 019f;
 }
index 0ae68be..4c0c74d 100644 (file)
@@ -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;
 }