Merge pull request #5560 from kumpera/wasm-work-p3
[mono.git] / mcs / tests / gtest-420.cs
1 using System;
2 using System.Collections.Generic;
3
4 class C
5 {
6 }
7
8 class TestClass
9 {
10         static int Test (object a, object b, params object[] args)
11         {
12                 return 0;
13         }
14         
15         static int Test (object a, params object[] args)
16         {
17                 return 1;
18         }
19         
20         public static int Main ()
21         {
22                 C c = new C ();
23                 Test (c, c, new object [0]);
24                 
25                 var v = new Func<C, C, object[], int>(Test);
26                 
27                 return v (null, null, null);
28         }
29 }