* libjava.compile/PR5848.xfail: New file.
* libjava.compile/PR5848.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50674
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-03-12 Tom Tromey <tromey@redhat.com>
+
+ Test for PR java/5848:
+ * libjava.compile/PR5848.xfail: New file.
+ * libjava.compile/PR5848.java: New file.
+
2002-03-12 Eric Blake <ebb9@email.byu.edu>
* libjava.compile/PR5913.java: Expand test.
--- /dev/null
+import java.util.Vector;
+import java.util.Enumeration;
+
+public class PR5848
+{
+ private Vector data;
+ void sub()
+ {
+ long sz = 0;
+ for (Enumeration e = data.elements() ; e.hasMoreElements() ;) {
+ sz =+ ((byte[])e.nextElement()).length;
+ }
+ }
+}