Merge pull request #4935 from lambdageek/dev-handles-may
[mono.git] / mcs / tests / gtest-424.cs
1 using System;
2 using System.Collections.Generic;
3
4 public class A { }
5
6 public class B : A { }
7
8 public class Test
9 {
10         public static void Block (params A[] expressions)
11         {
12                 throw new ApplicationException ();
13         }
14
15         public static void Block (IEnumerable<B> variables, params A[] expressions)
16         {
17         }
18
19         public static int Main ()
20         {
21                 A e = new A ();
22                 Block (new B[] { }, e);
23                 return 0;
24         }
25 }