Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / dtest-048.cs
1 using System;
2 class A
3 {
4         static int M (string s, object o)
5         {
6                 return 1;
7         }
8
9         static int M (string s, params object[] o)
10         {
11                 if (o != null)
12                         return 2;
13
14                 return 0;
15         }
16
17         public static int Main ()
18         {
19                 if (M ("x", null) != 0)
20                         return 1;
21                 
22                 if (M ("x", (object[])null) != 0)
23                         return 2;
24                 
25                 if (M ("x", (dynamic)null) != 0)
26                         return 3;
27                 
28                 return 0;
29         }
30 }