New test.
[mono.git] / mcs / tests / test-336.cs
1 using System;
2
3 public delegate void Foo ();
4 public delegate void Bar (int x);
5
6 class X
7 {
8         public X (Foo foo)
9         { }
10
11         public X (Bar bar)
12         { }
13
14         static void Test ()
15         { }
16
17         static void Main ()
18         {
19                 X x = new X (Test);
20         }
21 }