For PR java/16675:

* testsuite/libjava.compile/PR16675.java: New file.

From-SVN: r91655
This commit is contained in:
Tom Tromey 2004-12-02 19:38:49 +00:00 committed by Tom Tromey
parent e5410ba71b
commit 0396df8ac4
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-12-02 Tom Tromey <tromey@redhat.com>
For PR java/16675:
* testsuite/libjava.compile/PR16675.java: New file.
2004-12-02 Richard Sandiford <rsandifo@redhat.com>
* configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.

View File

@ -0,0 +1,13 @@
public class PR16675 {
public PR16675(Object obj) { }
public void someTestMethod() {
// gcj crashed compiling this, as `null' had type `void*'.
new PR16675(null) { };
}
public void someTestMethod2() {
new PR16675((Object) null) { };
}
}