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

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

namespace B
{
	class Program
	{
		public static int Main()
		{
			int? i = 0;
			bool b = i == (int?)null;
			if (b)
				return 1;
			
			if (i == (int?)null)
				return 2;
				
			Console.WriteLine (b);
			return 0;
		}
	}
}