Merge pull request #4998 from kumpera/fix_56684
[mono.git] / mcs / tests / test-anon-98.cs
1 using System;
2
3 class Foo
4 {
5     ~Foo()
6         {
7                 int x = 1;
8                 Action a = () => Console.WriteLine("{0}", x);
9     }
10         
11     public static void Main ()
12         {
13                 new Foo ();
14         }
15 }