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

using System;
using System.Diagnostics;

class C
{
	static int Main ()
	{
		int a;
		Foo (a = 9);
		return a;
	}

	[Conditional ("MISSING")]
	static void Foo (int value)
	{
	}
}