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

using System;

class Program
{
	public static void Main ()
	{
		int a;
		string s = "";
		var res = s == null || ((a = 1) > 0);
		Console.WriteLine (a);
	}
}