repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-09-29 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
test-62.cs
blob
550956009e0e713be4e3459c0ada151d1c74735d
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
static int
Main
()
25
{
26
return
0
;
27
}
28
}