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:
parent
5b8619f82e
commit
5a471df6f9
3 changed files with 21 additions and 0 deletions
|
@ -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>
|
2002-03-12 Eric Blake <ebb9@email.byu.edu>
|
||||||
|
|
||||||
* libjava.compile/PR5913.java: Expand test.
|
* libjava.compile/PR5913.java: Expand test.
|
||||||
|
|
14
libjava/testsuite/libjava.compile/PR5848.java
Normal file
14
libjava/testsuite/libjava.compile/PR5848.java
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
libjava/testsuite/libjava.compile/PR5848.xfail
Normal file
1
libjava/testsuite/libjava.compile/PR5848.xfail
Normal file
|
@ -0,0 +1 @@
|
||||||
|
no-link
|
Loading…
Add table
Add a link
Reference in a new issue