Patch: FYI: PR 6520 test
Tom Tromey
tromey@redhat.com
Tue Jun 11 01:37:00 GMT 2002
I'm checking this in on the trunk.
This is the test for PR 6520.
I'm not xfailing it as I have a fix pending.
If the fix doesn't go in soon, I will go ahead and xfail the test.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* libjava.lang/PR6520.java: New file. For PR java/6520.
Index: libjava.lang/PR6520.java
===================================================================
RCS file: libjava.lang/PR6520.java
diff -N libjava.lang/PR6520.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ libjava.lang/PR6520.java 11 Jun 2002 03:49:09 -0000
@@ -0,0 +1,13 @@
+public class pr6520
+{
+ public static void check (double x, double y)
+ {
+ System.out.println (x == y);
+ }
+
+ public static void main(String[] args)
+ {
+ check (Math.min (2.0f, Float.NaN), Float.NaN);
+ }
+ }
+
More information about the Java-patches
mailing list