* libjava.lang/PR6520.java: New file. For PR java/6520.
authorTom Tromey <tromey@redhat.com>
Tue, 11 Jun 2002 03:50:30 +0000 (03:50 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 11 Jun 2002 03:50:30 +0000 (03:50 +0000)
From-SVN: r54482

libjava/testsuite/ChangeLog
libjava/testsuite/libjava.lang/PR6520.java [new file with mode: 0644]

index 87ca19c43a750b337a4b9d73d06449ea1b7ce603..c2b442793b9b812c0dc04e37d9594fd321d4f36e 100644 (file)
@@ -1,3 +1,7 @@
+2002-06-10  Tom Tromey  <tromey@redhat.com>
+
+       * libjava.lang/PR6520.java: New file.  For PR java/6520.
+
 2002-06-04  Tom Tromey  <tromey@redhat.com>
 
        * libjava.compile/T20020604.java: New file.
diff --git a/libjava/testsuite/libjava.lang/PR6520.java b/libjava/testsuite/libjava.lang/PR6520.java
new file mode 100644 (file)
index 0000000..24c60c0
--- /dev/null
@@ -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);
+   }
+ }
+