2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / libjava / testsuite / libjava.lang / err7.java
blob11f4e8d0b18e45ab82c5f2a3cfd8a2486f33e4e0
1 /*--------------------------------------------------------------------------*/
2 /* File name : err7.java */
3 /* : */
4 /* Cause : When exists both array (more than 10 elements) and */
5 /* "for" or "while" or "do while" statement , error. */
6 /* : */
7 /* Message : /var/tmp/cc1oQM8i.s: Assembler messages: */
8 /* : /var/tmp/cc1oQM8i.s:243: Fatal error: Symbol $L2 already def*/
9 /* : fined. */
10 /*--------------------------------------------------------------------------*/
12 public class err7 {
13 public static void main(String[] args) {
14 int[] ary = {0,1,2,3,4,5,6,7,8,9};
16 while ( true ) {
17 break;
20 System.out.println("OK");