OSDN Git Service

* libjava.compile/PR6865.java: New file. For PR java/6865.
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.compile / G19990210_2.java
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 /*-------------------------------------------------------------------------*/
13 public class G19990210_2  {
14   public int foo () {
15         return 1;
16         ;
17   }
18 }