source: trunk/gcc/libjava/testsuite/libjava.lang/pr8945.java

Last change on this file was 1389, checked in by bird, 21 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 166 bytes
Line 
1public class pr8945
2{
3 public static void main(String[] args)
4 {
5 String foo = "hello";
6 int pos = 3;
7 System.out.println(foo.substring(pos,++pos));
8 }
9}
Note: See TracBrowser for help on using the repository browser.