mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 08:25:51 +00:00
453eac4a7d
* libjava.lang/pr8945.java: New file. * libjava.lang/pr8945.out: New file. From-SVN: r60286
10 lines
166 B
Java
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));
|
|
}
|
|
}
|