6e342fc100
2004-07-09 Bryce McKinlay <mckinlay@redhat.com> Fix or remove some bogus test cases. * testsuite/libjava.compile/pr10459_2.java: Removed. * testsuite/libjava.compile/pr10459.java: Test using its own method, not Object.clone(). * testsuite/libjava.compile/inner_data.java: Test against its own protected field. From-SVN: r84420
16 lines
168 B
Java
16 lines
168 B
Java
public class pr10459
|
|
{
|
|
pr10459 x;
|
|
|
|
public void aMethod() throws Throwable
|
|
{
|
|
for (; ;x.foo().foo())
|
|
;
|
|
}
|
|
|
|
pr10459 foo()
|
|
{
|
|
return null;
|
|
}
|
|
}
|