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

@ -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