aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/testsuite/ChangeLog4
-rw-r--r--libjava/testsuite/libjava.compile/zeroexp.java10
2 files changed, 14 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog
index f555f7e..2078c59 100644
--- a/libjava/testsuite/ChangeLog
+++ b/libjava/testsuite/ChangeLog
@@ -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
index 0000000..f14efbb
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/zeroexp.java
@@ -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);
+ }
+}