source: trunk/gcc/libjava/testsuite/libjava.compile/N19990310_01.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: 777 bytes
Line 
1/*--------------------------------------------------------------------------*/
2/* name : N19990310_01 */
3/* : */
4/* cause : When compare string with connected strings, error. */
5/* : */
6/* Message : Internal compiler error: program jc1 got */
7/* : fatal signal 11 */
8/*--------------------------------------------------------------------------*/
9
10public class N19990310_01 {
11 public static void main(String[] args) {
12
13 if ( "Hello" == ("Hel"+"lo") ) {
14 }
15
16 System.out.println("OK");
17 }
18}
Note: See TracBrowser for help on using the repository browser.