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

@ -1,3 +1,8 @@
2002-12-18 Tom Tromey <tromey@redhat.com>
* libjava.lang/pr8945.java: New file.
* libjava.lang/pr8945.out: New file.
2002-12-12 Tom Tromey <tromey@redhat.com>
* libjava.loader/loader.exp (gcj_loader_test_one): Use

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

View File

@ -0,0 +1 @@
l