mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02: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:
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
|
||||
Reference in New Issue
Block a user