pr8945.java: New file.

* libjava.lang/pr8945.java: New file.
	* libjava.lang/pr8945.out: New file.

From-SVN: r60286
This commit is contained in:
Tom Tromey 2002-12-19 06:40:03 +00:00 committed by Tom Tromey
parent 5a0ba8c9ee
commit 453eac4a7d
3 changed files with 15 additions and 0 deletions

View file

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