summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-137.cs
blob: 29a236118d679b7eb3f2ba4893d2e7d80c155f5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;

class X
{
	public static int Main ()
	{
		int? a = 4;
		int? b = -a;
		Console.WriteLine (b);

		int? x = 42;
		uint y = 42;
		
		bool r = (x == y);
		if (!r)
			return 1;
			
		if (x != y)
			return 2;
			
		return 0;
	}
}