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-11-12 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0269.cs
blob
a0a713baba29e13426afa413c8ab41332c7ebf1f
1
// cs0269.cs: Use of unassigned out parameter `a'
2
// Line: 23
3
4
struct
A
5
{
6
public int
a
;
7
public
A
(
int
foo
)
8
{
9
a
=
foo
;
10
}
11
}
12
13
class
X
14
{
15
static void
test_output
(
A a
)
16
{
17
}
18
19
static void
test5
(
out
A a
)
20
{
21
test_output
(
a
);
22
a
=
new
A
(
5
);
23
}
24
}