For PR java/14853:
* testsuite/libjava.compile/PR14853.java: New file. * testsuite/libjava.compile/PR14853.xfail: New file. From-SVN: r91777
This commit is contained in:
parent
a52c836bd5
commit
0bc371d376
3 changed files with 24 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-12-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
For PR java/14853:
|
||||
* testsuite/libjava.compile/PR14853.java: New file.
|
||||
* testsuite/libjava.compile/PR14853.xfail: New file.
|
||||
|
||||
2004-12-03 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
PR libgcj/7305
|
||||
|
|
17
libjava/testsuite/libjava.compile/PR14853.java
Normal file
17
libjava/testsuite/libjava.compile/PR14853.java
Normal file
|
@ -0,0 +1,17 @@
|
|||
class tt
|
||||
{
|
||||
static final tt tt1 = new tt();
|
||||
tt()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class PR14853
|
||||
{
|
||||
public static void main (String[] args)
|
||||
{
|
||||
// This is an invalid assignment. gcj would get confused in
|
||||
// definite assignment when compiling to object code.
|
||||
tt.tt1 = new tt();
|
||||
}
|
||||
}
|
1
libjava/testsuite/libjava.compile/PR14853.xfail
Normal file
1
libjava/testsuite/libjava.compile/PR14853.xfail
Normal file
|
@ -0,0 +1 @@
|
|||
shouldfail
|
Loading…
Add table
Reference in a new issue