* testsuite/libjava.compile/PR16675.java: New file.
From-SVN: r91655
+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.
--- /dev/null
+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) { };
+ }
+
+}