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
3 changed files with 15 additions and 0 deletions
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));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue