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

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

class X
{
	public void Test (int g, out int results)
	{
		if ((results = Foo (g > 0 ? 1 : 2)) != 4)
		{
			Console.WriteLine (results);
		}
	}

	int Foo (object o)
	{
		return 4;
	}

	public static void Main ()
	{
	}
}