codegen: implement `iastore' and `iaload'
[mate.git] / tests / Fib.java
index b91671634269ef3e2f4a45ea60b9740123d10997..11522e7057ab2bd3b1c6ec625b2a92081cc8c9ad 100644 (file)
@@ -1,13 +1,13 @@
-public class Fib
-{
-       public static int fib(int n)
-       {
+package tests;
+
+public class Fib {
+       public static int fib(int n) {
                if(n<=1) return 1;
                else return fib(n-1) + fib(n-2);
        }
 
-       public static void main(String[] args)
-       {
-               fib(10);
+       public static void main(String[] args) {
+               fib(20);
+               // System.out.printf("%x\n", fib(20));
        }
 }