* tests/regression/bugzilla/Makefile.am (build): Changed -cp to
[cacao.git] / tests / stack / hello2.java
1 public class hello2 {
2         static int f() {
3                 int i=100;
4                 i=i+20;
5                 return i;
6         }
7         public static void main(String[] s) {
8                 for (int i=0;i<f(); i++) {
9                         System.out.println(i);
10                 }
11                 
12                 int i=0;
13                 while (i<f()) {
14                         System.out.println("i+1");
15                 }
16
17         }
18 }