fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / libjava / testsuite / libjava.compile / N19990317.java
blob669da3b824ab132baf6a3fd347a39c4d71f79c79
1 /*--------------------------------------------------------------------------*/
2 /* Name : N19990317.java */
3 /* : */
4 /* Cause : When initialize valiable whose name is equal to method */
5 /* : return value, error. */
6 /* : */
7 /* Message : Internal compiler error: program jc1 got */
8 /* : fatal signal 11 */
9 /*--------------------------------------------------------------------------*/
11 class Point {}
13 public class N19990317 {
15 Point func() {
16 return null;
19 public static void main(String[] args) {
20 int Point = 2;
21 System.out.println("OK");