Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / bug-70561.cs
1 using System;
2 using System.Threading;
3
4 class T
5 {
6         static void DoStuff () {
7                 Console.WriteLine ("DoStuff ()");
8         }
9
10         static void Main (string [] args) {
11                 try
12                 {
13                         Thread.CurrentThread.Abort ();
14                 } finally {
15 //LABEL1
16                         try
17                         {
18                                 DoStuff ();
19                         } catch (Exception) {}
20 // This call will send us back up to label one; and we'll loop forver
21                         Thread.CurrentThread.Abort ();
22                 }
23         }
24 }
25