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