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
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
test-var-07.cs
blob
42ef8e92e1ea4c147524f84413f36e6058c00b87
1
2
3
// Tests `var' keyword contextual parsing
4
5
public class
Test
:
var
6
{
7
static void var
()
8
{
9
}
10
11
public static int
Main
()
12
{
13
var
i
=
null
;
14
var
v
=
new var
();
15
16
if
(
v
.
GetType
() !=
typeof
(
var
))
17
return
1
;
18
19
return
0
;
20
}
21
}
22
23
public class var
24
{
25
}
26