summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0165-43.cs
blob: b4762ab06bb1a4cacc22e38dc7167e7936c51ba2 (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 `g'
// Line: 10

public class A
{
	static bool Test7 ()
	{
		int f = 1;
		int g;
		return f > 1 && OutCall (out g) || g > 1;
	}

	static bool OutCall (out int arg)
	{
		arg = 1;
		return false;
	}
}