source:
trunk/gcc/libjava/testsuite/libjava.compile/N19990317.java
| Last change on this file was 2, checked in by , 23 years ago | |
|---|---|
|
|
| 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 | |
| 11 | class Point {} |
| 12 | |
| 13 | public 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.
