diff options
Diffstat (limited to 'gcc-4.6/libjava/testsuite/libjava.lang/CompareNaN.java')
| -rw-r--r-- | gcc-4.6/libjava/testsuite/libjava.lang/CompareNaN.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc-4.6/libjava/testsuite/libjava.lang/CompareNaN.java b/gcc-4.6/libjava/testsuite/libjava.lang/CompareNaN.java deleted file mode 100644 index 77a6d6aa8..000000000 --- a/gcc-4.6/libjava/testsuite/libjava.lang/CompareNaN.java +++ /dev/null @@ -1,15 +0,0 @@ -/* - * JLS 4.2.3 specifies that (x op y) must be false if either x or y - * is NaN and op is one of <, >, <=, >=, or ==. - * - * Some targets may need specific options wired into libgcj.spec - * to pass this test. For example, alpha-linux requires -mieee - * to prevent an unrecoverable fp trap. - */ - -public class CompareNaN { - public static void main(String[] args) { - double x = Double.NaN; - System.out.println(x == x); - } -} |
