summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0165-39.cs
blob: c5da9d659efe18f71a4141931c05ee6447591bfb (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 = "";

		for (int i = 0; s != "s" && (a = 4) > 3; ++i) {
		}

		Console.WriteLine (a);
	}
}