source: trunk/gcc/libjava/testsuite/libjava.compile/N19990317.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 883 bytes
Line 
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/*--------------------------------------------------------------------------*/
10
11class Point {}
12
13public class N19990317 {
14
15 Point func() {
16 return null;
17 }
18
19 public static void main(String[] args) {
20 int Point = 2;
21 System.out.println("OK");
22 }
23}
Note: See TracBrowser for help on using the repository browser.