projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #1319 from directhex/systemwide-per-arch-aot-cache
[mono.git]
/
mcs
/
errors
/
cs0815-7.cs
1
// CS0815: An implicitly typed local variable declaration cannot be initialized with `void'
2
// Line: 8
3
// Compiler options: -langversion:experimental
4
5
class X
6
{
7
public static void Main ()
8
{
9
Foo (out var x = Main ());
10
}
11
12
static void Foo (out int i)
13
{
14
i = 0;
15
}
16
}