[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / tests / gtest-637.cs
1 using System;
2
3 public struct nint
4 {
5         public static implicit operator nint (int v)
6         {
7                 return 0;
8         }
9 }
10
11 public class MainClass 
12 {
13         static void Test (string key, int? value)
14         {
15         }
16
17         static void Test (string key, nint? value)
18         {
19                 throw new ApplicationException ();
20         }
21
22         public static void Main ()
23         {
24                 Test (null, int.MinValue);
25         }
26 }