mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 18:40:15 +08:00
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:
parent
685828f786
commit
a6f1f688a6
@ -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:
|
||||
|
10
libjava/testsuite/libjava.compile/pr10459.java
Normal file
10
libjava/testsuite/libjava.compile/pr10459.java
Normal file
@ -0,0 +1,10 @@
|
||||
public class pr10459
|
||||
{
|
||||
pr10459 x;
|
||||
|
||||
public void aMethod() throws Throwable
|
||||
{
|
||||
for (; ;x.clone().clone())
|
||||
;
|
||||
}
|
||||
}
|
10
libjava/testsuite/libjava.compile/pr10459_2.java
Normal file
10
libjava/testsuite/libjava.compile/pr10459_2.java
Normal file
@ -0,0 +1,10 @@
|
||||
public class pr10459_2
|
||||
{
|
||||
pr10459_2 x;
|
||||
|
||||
public void aMethod() throws Throwable
|
||||
{
|
||||
for (; ;x.clone().clone())
|
||||
break;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user