[System.Runtime.InteropServices.RuntimeInformation] Updated to reference copied files...
[mono-project.git] / mono / tests / exception5.cs
blob362f9c1af502e246010774b7b3925b4fa298e60d
1 using System;
3 public class Ex {
5 public static int test (int a) {
6 int res;
7 int fin = 0;
8 try {
9 try {
10 res = 10/a;
11 } catch (DivideByZeroException ex) {
12 res = 34;
13 } catch {
14 res = 22;
16 } catch {
17 res = 44;
18 } finally {
19 fin += 1;
21 return fin;
23 public static int Main () {
24 if (test(0) != 1)
25 return 1;
26 return 0;