aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/err7.java
blob: 11f4e8d0b18e45ab82c5f2a3cfd8a2486f33e4e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*--------------------------------------------------------------------------*/
/* 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");
  }
}