mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 12:23:59 +08:00
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:
parent
e5ecd4eab3
commit
2450ddbbda
@ -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.
|
||||
|
9
libjava/testsuite/libjava.lang/PR55.java
Normal file
9
libjava/testsuite/libjava.lang/PR55.java
Normal 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");
|
||||
}
|
||||
}
|
1
libjava/testsuite/libjava.lang/PR55.out
Normal file
1
libjava/testsuite/libjava.lang/PR55.out
Normal file
@ -0,0 +1 @@
|
||||
The number 666 is 3 digits wide
|
Loading…
Reference in New Issue
Block a user