source: trunk/gcc/libjava/testsuite/libjava.compile/G19990210_2.java

Last change on this file was 2, checked in by bird, 22 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: 1006 bytes
Line 
1/*-------------------------------------------------------------------------*/
2/* File name : G19990210_2 */
3/* : */
4/* Cause : */
5/* : */
6/* Message : G19990210_2.java: In class `G19990210_2': */
7/* : G19990210_2.java: In method `foo()': */
8/* : G19990210_2.java:5: Missing return statement. */
9/* : } */
10/* : ^ */
11/* : 1 error */
12/*-------------------------------------------------------------------------*/
13public class G19990210_2 {
14 public int foo () {
15 return 1;
16 ;
17 }
18}
Note: See TracBrowser for help on using the repository browser.