mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 20:01:22 -05: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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user