repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
errors
/
cs0815-7.cs
blob
af3d10f8c6c370899609d93bd528f2d509f7d065
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
}