diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index f555f7e2c4d488828a1ad4092a50595685bb2deb..2078c59e5246cb3583d0f5bfa16c865c0d709cb7 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 0000000000000000000000000000000000000000..f14efbbc9a290e0b114743c40efdb08c692d93d4 --- /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); + } +}