[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0165-49.cs
1 // CS0165: Use of unassigned local variable `a'
2 // Line: 14
3
4 class C
5 {
6         static void Main ()
7         {
8                 bool x = true, y = true, z = true;
9
10                 int a;
11                 if (x ? y : (z || Foo (out a)))
12                         System.Console.WriteLine (z);
13                 else
14                         System.Console.WriteLine (a);
15         }
16
17         static bool Foo (out int f)
18         {
19                 f = 1;
20                 return true;
21         }
22 }