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
Take stars out of types where they make more sense.
[mono-project.git]
/
mcs
/
tests
/
test-62.cs
blob
340f40f4de18d8be199a44903633ff069c3626d1
1
//
2
// This test just makes sure that we can typecast to
3
// array types, as this was introduced later into the
4
// grammar.
5
//
6
7
class
X
{
8
9
X
[]
GetX
()
10
{
11
return
(
X
[])
null
;
12
}
13
14
int
[]
getInt
()
15
{
16
return
(
int
[])
null
;
17
}
18
19
int
[,,]
getMoreInt
()
20
{
21
return
(
int
[,,])
null
;
22
}
23
24
public static int
Main
()
25
{
26
return
0
;
27
}
28
}