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
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();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue