summaryrefslogtreecommitdiff
path: root/mcs/tests/test-878.cs
blob: 659b77a72cb2e0710f56e742f7b22ca84bb90ba3 (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
25
26
27
28
29
30
31
32
33
34
using System;

public class Tests
{
	public static int Main ()
	{
		return 0;
	}

	void Test1 ()
	{
		int a;
		if (true) {
			a = 0;
		} else {
			a = 1;
		}

		Console.WriteLine (a);
	}

	void Test2 ()
	{
		int a;
		if (false) {
			a = 0;
		} else {
			a = 1;
		}

		Console.WriteLine (a);
	}
}