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

@ -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) { };
}
}