codegen: handle exceptions of a method
[mate.git] / tests / Instance7.java
1 package tests;
2
3 public class Instance7 {
4         public static void main(String []args) {
5                 int i_am_null = 0;
6                 System.out.printf("before\n");
7                 if (i_am_null > 0) {
8                         Instance7_notload a = new Instance7_notload();
9                         System.out.printf("loaded notload stuff o_O: %d\n", a.foo);
10                 } else {
11                         System.out.printf("Nothing to do here\n");
12                 }
13         }
14 }
15
16 class Instance7_notload {
17         static {
18                 System.out.printf("sup, I'm Instance7_notload\n");
19         }
20         public int foo = 6;
21 }