]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libjava/testsuite/libjava.lang/err12.java
Imported gcc-4.4.3
[msp430-gcc.git] / libjava / testsuite / libjava.lang / err12.java
diff --git a/libjava/testsuite/libjava.lang/err12.java b/libjava/testsuite/libjava.lang/err12.java
deleted file mode 100644 (file)
index 9631b3d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/*--------------------------------------------------------------------------*/
-/* File name : err12.java                                              */
-/*            :                                                             */
-/* Cause      : Cast negative floating point to char makes error            */
-/*            :                                                             */
-/* Message    : Internal compiler error in functi on convert_move           */
-/*--------------------------------------------------------------------------*/
-
-public class err12 {
-       public static void main(String[] args){
-               char x1, x2;
-
-               float y = -10000f;
-
-               x1 = (char)y;           // err
-               x2 = (char)-10000f;     // ok
-
-               if ( x1 == x2 ) {
-                       System.out.println("OK");
-               } else {
-                       System.out.println("NG");
-                       System.out.println("x1:[65520]-->[" +(x1-0)+"]");
-                       System.out.println("x2:[65520]-->[" +(x2-0)+"]");
-               }
-       }
-}
-