* configure.ac: New switch for disabling -O2 (--disable-optimizations).
[cacao.git] / tests / memtest.java
1 public class memtest {
2         public memtest next;
3         
4         public static memtest t;
5
6         public memtest (memtest n) { next = n; }
7         public memtest () { };
8
9         public static void main (String[] s) {
10                 int i;
11
12                 t = new memtest(new memtest(new memtest()));
13                 char c[][] = new char[100][10];
14                 
15                 for (i=0; i<100; i++) {
16                         System.out.print (i);
17                         System.out.println (". Objekt angelegt");
18                         memtest m = new memtest();
19                         }       
20         
21                 }
22
23         }
24
25