[CI] ignore appdomain-unload-asmload.exe on interp and full-aot
[mono.git] / mono / tests / exception2.cs
1 using System;
2
3 public class Ex2 {
4
5         public static int test (int a) {
6                 int res;
7                 res = 10/a;
8                 return res;
9         }
10         public static int Main () {
11                 int res = 1;
12                 try {
13                         test(1);
14                         test(0);
15                 } catch {
16                         res = 0;
17                 }
18                 return res;
19         }
20 }
21
22