Retro68/gcc/libjava/testsuite/libjava.lang/err7.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

24 lines
968 B
Java

/*--------------------------------------------------------------------------*/
/* File name : err7.java */
/* : */
/* Cause : When exists both array (more than 10 elements) and */
/* "for" or "while" or "do while" statement , error. */
/* : */
/* Message : /var/tmp/cc1oQM8i.s: Assembler messages: */
/* : /var/tmp/cc1oQM8i.s:243: Fatal error: Symbol $L2 already def*/
/* : fined. */
/*--------------------------------------------------------------------------*/
public class err7 {
public static void main(String[] args) {
int[] ary = {0,1,2,3,4,5,6,7,8,9};
while ( true ) {
break;
}
System.out.println("OK");
}
}