For PR java/5902:
authorEric Blake <ebb9@email.byu.edu>
Fri, 15 Mar 2002 19:17:39 +0000 (19:17 +0000)
committerEric Blake <ericb@gcc.gnu.org>
Fri, 15 Mar 2002 19:17:39 +0000 (19:17 +0000)
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.

From-SVN: r50829

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

index 315677ce60b237c9a812d37599007e7fa3f73da4..888546b10a334b9b8838ad590032849e7d10a2ef 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 52fdfa868dba05ffaff3490a39a1f73ebe31f577..1a78a269217a272530ab9c53cb8836d63407adbb 100644 (file)
@@ -1,7 +1,4 @@
 class PR5902
 {
-  public static void main(String[] args)
-  {
-    System.exit((019f == 19) ? 0 : 1);
-  }
+  double d = 019f;
 }
index 0ae68be215e08554936e864d80814dcd17e8ed6a..4c0c74d8f11f219c7e429fa6dec84875782de760 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;
 }