Retro68/gcc/libjava/testsuite/libjava.lang/pr8945.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

10 lines
166 B
Java

public class pr8945
{
public static void main(String[] args)
{
String foo = "hello";
int pos = 3;
System.out.println(foo.substring(pos,++pos));
}
}