source: trunk/gcc/libjava/testsuite/libjava.lang/err7.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 968 bytes
Line 
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/*--------------------------------------------------------------------------*/
11
12public 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
Note: See TracBrowser for help on using the repository browser.