From 3f3b73ee9e4da95817477cc7ea92b2e83e3593ac Mon Sep 17 00:00:00 2001 From: tromey Date: Tue, 23 Jul 2002 03:15:02 +0000 Subject: * libjava.compile/zeroexp.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55663 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/testsuite/libjava.compile/zeroexp.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/zeroexp.java (limited to 'libjava/testsuite/libjava.compile') diff --git a/libjava/testsuite/libjava.compile/zeroexp.java b/libjava/testsuite/libjava.compile/zeroexp.java new file mode 100644 index 00000000000..f14efbbc9a2 --- /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); + } +} -- cgit v1.2.3