Test for PR java/5848:

* libjava.compile/PR5848.xfail: New file.
	* libjava.compile/PR5848.java: New file.

From-SVN: r50674
This commit is contained in:
Tom Tromey 2002-03-12 19:51:44 +00:00 committed by Tom Tromey
parent 5b8619f82e
commit 5a471df6f9
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -0,0 +1,14 @@
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;
}
}
}

View File

@ -0,0 +1 @@
no-link