This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: New test case


I'm checking this in.  This is a test case for a bug recently reported
on the java list.  Fix to follow shortly.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* libjava.compile/zeroexp.java: New file.

Index: libjava.compile/zeroexp.java
===================================================================
RCS file: libjava.compile/zeroexp.java
diff -N libjava.compile/zeroexp.java
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ libjava.compile/zeroexp.java 23 Jul 2002 03:14:21 -0000
@@ -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);
+  }
+}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]