codegen: handle exceptions of a method
[mate.git] / tests / Instance6.java
1 package tests;
2
3 public class Instance6 {
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                         Instance6_notload a = new Instance6_notload();
9                         a.lol();
10                         System.out.printf("loaded notload stuff o_O\n");
11                 } else {
12                         System.out.printf("Nothing to do here\n");
13                 }
14         }
15 }
16
17 class Instance6_notload {
18         static {
19                 System.out.printf("sup, I'm Instance6_notload\n");
20         }
21         void lol() {
22                 System.out.printf("lolololololo\n");
23         }
24 }