diff options
Diffstat (limited to 'libjava/testsuite/libjava.compile/zeroexp.java')
-rw-r--r-- | libjava/testsuite/libjava.compile/zeroexp.java | 10 |
1 files changed, 10 insertions, 0 deletions
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); + } +} |