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

test-9.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 581b9aed0f79d543d4e9d00937b2a2c181b78a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class X {
	public static int Main (string [] args)
	{
		decimal a, b, c, d;

		a = 0;
		b = 1;
		c = d = 3;

		if (b + b + b != c)
			return 1;

		if (a != (b - 1))
			return 2;

		if (c != d)
			return 3;

		if (!(c == d))
			return 4;
		
		return 0;
	}
}