source: trunk/gcc/libjava/testsuite/libjava.compile/PR5848.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: 261 bytes
Line 
1import java.util.Vector;
2import java.util.Enumeration;
3
4public class PR5848
5{
6 private Vector data;
7 void sub()
8 {
9 long sz = 0;
10 for (Enumeration e = data.elements() ; e.hasMoreElements() ;) {
11 sz =+ ((byte[])e.nextElement()).length;
12 }
13 }
14}
Note: See TracBrowser for help on using the repository browser.