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

class C {
	public static int test4 ()
	{
		int a;

		try {
			a = 3;
		} catch {
		}

		// CS0165
		return a;
	}
}