OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [err7.java] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
/*--------------------------------------------------------------------------*/
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
/*--------------------------------------------------------------------------*/
11
 
12
public class err7 {
13
  public static void main(String[] args) {
14
    int[] ary = {0,1,2,3,4,5,6,7,8,9};
15
 
16
    while ( true ) {
17
      break;
18
    }
19
 
20
    System.out.println("OK");
21
  }
22
}
23
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.