Warnings cleanup
[mcs.git] / tests / gtest-361.cs
blobd6959b6fa82ab87126f6f64aa4e563bb7b8515ef
1 public class Thing
3 public delegate void Handler ();
5 static void Foo ()
9 public static int Main ()
11 Method (delegate { },
12 "Hello", "How", "Are", "You"); // compiler explodes
13 Method (delegate { }); // compiler explodes
15 Method (null, null); // ok
16 Method (null); // ok
17 Method (Foo, "Hi"); // ok
18 return 0;
21 public static void Method (Handler handler, params string [] args)