Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-336.cs
index 60232fc0c81e6eadab6d4691e622bffae61d3c15..ed2c6f337f7e3e8c4e9165dfcfeefe58db1a9314 100644 (file)
@@ -1,17 +1,21 @@
 using System;
-using System.Threading;
-
-class A {
-       static void X () {
-               Console.WriteLine ();
-       }
-       static void Main () {
-               Thread t = new Thread (X);
-       }
-}
-
 
+public delegate void Foo ();
+public delegate void Bar (int x);
 
+class X
+{
+       public X (Foo foo)
+       { }
 
+       public X (Bar bar)
+       { }
 
+       static void Test ()
+       { }
 
+       public static void Main ()
+       {
+               X x = new X (Test);
+       }
+}