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:
Tom Tromey 2004-12-06 15:30:57 +00:00 committed by Tom Tromey
parent a52c836bd5
commit 0bc371d376
3 changed files with 24 additions and 0 deletions

View file

@ -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

View 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();
}
}

View file

@ -0,0 +1 @@
shouldfail