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

test-893.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 97cfc0a7cca8583f8d2fe22644c1daf7d6bbbdb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
public class A
{
	public static bool TryAssign (out int x)
	{
		x = 0;
		return true;
	}

	public static void Main ()
	{
		int x, y;
		if ((!TryAssign (out x) || x == 0) & (!TryAssign (out y) || y == 0)) {
		}
	}
}