projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Use temp directory for assemblies in SaveTest.Save() (#5727)
[mono.git]
/
mcs
/
errors
/
cs0165-49.cs
1
// CS0165: Use of unassigned local variable `a'
2
// Line: 14
3
4
class C
5
{
6
static void Main ()
7
{
8
bool x = true, y = true, z = true;
9
10
int a;
11
if (x ? y : (z || Foo (out a)))
12
System.Console.WriteLine (z);
13
else
14
System.Console.WriteLine (a);
15
}
16
17
static bool Foo (out int f)
18
{
19
f = 1;
20
return true;
21
}
22
}