diff options
author | Tom Tromey <tromey@redhat.com> | 2002-07-23 03:15:02 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2002-07-23 03:15:02 +0000 |
commit | 9cc37f69d2d52ccd3dce3040fe8d78555aa4e5d8 (patch) | |
tree | 2e98402f7d8fc4ed6d30eaefdbe1a1245cb5cd41 /libjava | |
parent | f922660b6906f4dfd3ec093ed78b076492eaffb5 (diff) | |
download | gcc-9cc37f69d2d52ccd3dce3040fe8d78555aa4e5d8.zip gcc-9cc37f69d2d52ccd3dce3040fe8d78555aa4e5d8.tar.gz gcc-9cc37f69d2d52ccd3dce3040fe8d78555aa4e5d8.tar.bz2 |
* libjava.compile/zeroexp.java: New file.
From-SVN: r55663
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/zeroexp.java | 10 |
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); + } +} |