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

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

struct S
{
	public static long operator + (S f, long n)
	{
		return n;
	}
}

class Test
{
	public static int Main ()
	{
		int? n = 1;
		S f = new S ();

		return (f + n) != 1 ? 1 : 0;
	}
}