re GNATS gcj/55 (jc1 dies on implicit String conversion)

* libjava.lang/PR55.out: New file.
	* libjava.lang/PR55.java: New file.

From-SVN: r29714
This commit is contained in:
Tom Tromey 1999-09-29 23:10:11 +00:00 committed by Tom Tromey
parent e5ecd4eab3
commit 2450ddbbda
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-09-29 Tom Tromey <tromey@cygnus.com>
* libjava.lang/PR55.out: New file.
* libjava.lang/PR55.java: New file.
1999-08-25 Tom Tromey <tromey@cygnus.com>
* libjava.toshiba/G19990304_01.out: New file.

View File

@ -0,0 +1,9 @@
public class PR55 {
// This demonstrates a bug in gcj
public static void main(String[] argv){
int i = 666;
System.out.println("The number "+i+" is "+ (""+i).length() +" digits wide");
}
}

View File

@ -0,0 +1 @@
The number 666 is 3 digits wide