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

using System;

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

		do {
		} while (s != "s" && (a = 4) > 3);

		Console.WriteLine (a);
	}
}