Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-637.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f08c8502c74f712d15dd1488ce11f20437a45315 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;

public struct nint
{
	public static implicit operator nint (int v)
	{
		return 0;
	}
}

public class MainClass 
{
	static void Test (string key, int? value)
	{
	}

	static void Test (string key, nint? value)
	{
		throw new ApplicationException ();
	}

	public static void Main ()
	{
		Test (null, int.MinValue);
	}
}