blob: 4c408286f4543d259f9e9db643f107ae05757213 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// cs0165.cs: Use of unassigned local variable `x'
// Line: 16
class T {
void fun (ref int a)
{
if (a == 3)
a = 2;
}
void x ()
{
int x;
if (System.Console.Read () == 1)
x = 1;
fun (ref x);
}
}
|