Initial set of Ward sgen annotations (#5705)
[mono.git] / mono / profiler / test-excleave.cs
1 using System;
2
3 class T {
4
5         static int f = 0;
6         static int c = 0;
7         static void throw_ex () {
8                 try {
9                         throw new Exception ();
10                 } finally {
11                         f++;
12                 }
13         }
14         static void Main (string[] args) {
15                 for (int i = 0; i < 1000; ++i) {
16                         try {
17                                 throw_ex ();
18                         } catch {
19                                 c++;
20                         }
21                 }
22         }
23 }
24