* libjava.compile/zeroexp.java: New file.
authorTom Tromey <tromey@redhat.com>
Tue, 23 Jul 2002 03:15:02 +0000 (03:15 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 23 Jul 2002 03:15:02 +0000 (03:15 +0000)
From-SVN: r55663

libjava/testsuite/ChangeLog
libjava/testsuite/libjava.compile/zeroexp.java [new file with mode: 0644]

index f555f7e..2078c59 100644 (file)
@@ -1,3 +1,7 @@
+2002-07-22  Tom Tromey  <tromey@redhat.com>
+
+       * libjava.compile/zeroexp.java: New file.
+
 2002-07-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * libjava.compile/compile.exp: Sort sources.
diff --git a/libjava/testsuite/libjava.compile/zeroexp.java b/libjava/testsuite/libjava.compile/zeroexp.java
new file mode 100644 (file)
index 0000000..f14efbb
--- /dev/null
@@ -0,0 +1,10 @@
+public class zeroexp
+{
+  public static void main (String[] argv)
+  {
+    // gcj used to give an error about this literal.
+    float f = 0E-6F;
+    double d = 0E-9;
+    System.out.println ("" + f + " " + d);
+  }
+}