gcc/libjava/testsuite/libjava.lang/PR55.java

10 lines
218 B
Java

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");
}
}