pr8945.java: New file.
* libjava.lang/pr8945.java: New file. * libjava.lang/pr8945.out: New file. From-SVN: r60286
This commit is contained in:
parent
5a0ba8c9ee
commit
453eac4a7d
@ -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
|
||||
|
9
libjava/testsuite/libjava.lang/pr8945.java
Normal file
9
libjava/testsuite/libjava.lang/pr8945.java
Normal 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));
|
||||
}
|
||||
}
|
1
libjava/testsuite/libjava.lang/pr8945.out
Normal file
1
libjava/testsuite/libjava.lang/pr8945.out
Normal file
@ -0,0 +1 @@
|
||||
l
|
Loading…
Reference in New Issue
Block a user