summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0165-35.cs
blob: ad3604f55b07778b8606e442381688a169b7acb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS0165: Use of unassigned local variable `a'
// Line: 14

using System;

class Program
{
	public static void Main ()
	{
		int a;
		string s = "";

		if (s != "s" && (a = 4) > 3) {
			return;
		}
		
		Console.WriteLine (a);
	}
}