Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / test-449.cs
1 //
2 // This is a test for bug 75925, to ensure that
3 // we do not accidentally introduce regressions on anonymous methods.
4 //
5 // This bug only needs to be compiled
6 //
7
8 using System;
9 using System.Threading;
10
11 class X {
12
13         public static void Main () 
14         {
15         }
16         
17         void Z ()
18         {
19                 ThreadPool.QueueUserWorkItem (delegate {
20                         Z ();
21                                         
22                         ThreadPool.QueueUserWorkItem (delegate {
23                                 Z ();
24                         });     
25                 });
26         }       
27 }
28
29
30