re PR java/10459 (ICE with certain expressions as 3rd clause of for loop)

PR java/10459:
	* libjava.compile/pr10459_2.java: New file.
	* libjava.compile/pr10459.java: New file.

From-SVN: r66410
This commit is contained in:
Tom Tromey 2003-05-03 00:33:18 +00:00 committed by Tom Tromey
parent 685828f786
commit a6f1f688a6
3 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-05-01 Tom Tromey <tromey@redhat.com>
PR java/10459:
* libjava.compile/pr10459_2.java: New file.
* libjava.compile/pr10459.java: New file.
2003-04-30 Tom Tromey <tromey@redhat.com>
PR libgcj/10582:

View File

@ -0,0 +1,10 @@
public class pr10459
{
pr10459 x;
public void aMethod() throws Throwable
{
for (; ;x.clone().clone())
;
}
}

View File

@ -0,0 +1,10 @@
public class pr10459_2
{
pr10459_2 x;
public void aMethod() throws Throwable
{
for (; ;x.clone().clone())
break;
}
}