repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-07-20 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0165-2.cs
blob
4c408286f4543d259f9e9db643f107ae05757213
1
// cs0165.cs: Use of unassigned local variable `x'
2
// Line: 16
3
4
class
T
{
5
void
fun
(
ref int
a
)
6
{
7
if
(
a
==
3
)
8
a
=
2
;
9
}
10
11
void
x
()
12
{
13
int
x
;
14
15
if
(
System
.
Console
.
Read
() ==
1
)
16
x
=
1
;
17
fun
(
ref
x
);
18
}
19
}