aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/N19990317.java
blob: 669da3b824ab132baf6a3fd347a39c4d71f79c79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*--------------------------------------------------------------------------*/
/* Name       : N19990317.java                                              */
/*            :                                                             */
/* Cause      : When initialize valiable whose name is equal to method      */
/*            : return value, error.                                        */
/*            :                                                             */
/* Message    : Internal compiler error: program jc1 got                    */
/*            :  fatal signal 11                                            */
/*--------------------------------------------------------------------------*/

class Point {}

public class N19990317 {

	Point  func() {
		return null;
	}

	public static void main(String[] args) {
		int Point = 2; 
		System.out.println("OK");
	}
}