21 lines
278 B
C#
Raw Permalink Normal View History

// CS0165: Use of unassigned local variable `a'
// Line: 16
class Test
{
public static bool Foo (out int v)
{
v = 0;
return false;
}
static void Main()
{
int a;
bool b = false;
if ((b || Foo (out a)) && b)
return;
else
System.Console.WriteLine (a);
}
}