summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/PR55.java
blob: 66619bf2c51befec5c39ceb4c7c3f91c3b9140b2 (plain)
1
2
3
4
5
6
7
8
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");
    }
}