summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/PR6520.java
blob: 617c6b2f11d22a9d614a9c970fe15f61ea03cbe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
   }
 }