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
2010-01-03 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs0177-7.cs
blob
980c74a58647480eb9c2ad1a50afa28713462ed5
1
// cs0177-7.cs: The out parameter `a' must be assigned to before control leaves the current method
2
// Line: 6
3
4
class
Foo
{
5
static void
test39
(
out int
a
)
6
{
7
int
x_0
=
0
;
8
int
ll_1
=
0
;
9
10
switch
(
0
) {
11
default
:
12
switch
(
x_0
) {
13
default
:
14
if
(
ll_1
==
0
)
15
break
;
16
else
17
goto
k_1
;
18
}
19
a
=
5
;
20
break
;
21
k_1
:
22
break
;
23
}
24
}
25
26
static void
Main
()
{ int x; test39 (out x); }
27
}
28