For PR java/16675:
* testsuite/libjava.compile/PR16675.java: New file. From-SVN: r91655
This commit is contained in:
parent
e5410ba71b
commit
0396df8ac4
@ -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.
|
||||
|
13
libjava/testsuite/libjava.compile/PR16675.java
Normal file
13
libjava/testsuite/libjava.compile/PR16675.java
Normal 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) { };
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user