* libjava.lang/PR6520.java: New file. For PR java/6520.
From-SVN: r54482
This commit is contained in:
parent
56a28102ba
commit
d8f19ccfab
2 changed files with 17 additions and 0 deletions
13
libjava/testsuite/libjava.lang/PR6520.java
Normal file
13
libjava/testsuite/libjava.lang/PR6520.java
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue