Merge pull request #4202 from marek-safar/compression
[mono-project.git] / mcs / errors / cs0165-2.cs
blob9eb32e91e14b86f6f1c14271133e5f78a5028d3c
1 // CS0165: Use of unassigned local variable `x'
2 // Line: 16
4 class T {
5 void fun (ref int a)
7 if (a == 3)
8 a = 2;
11 void x ()
13 int x;
15 if (System.Console.Read () == 1)
16 x = 1;
17 fun (ref x);