a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
212 B
C#
20 lines
212 B
C#
// CS0165: 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);
|
|
}
|
|
}
|