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
2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
tests
/
test-598.cs
blob
d2333f9ae845e3f9f636a4a135ab829a222b40e8
1
public struct
V
2
{
3
public int this
[
int
i
] {
4
set
{
5
}
6
}
7
8
public int
x
;
9
}
10
11
class
Test
12
{
13
V m_value
;
14
15
public
V v { get { return m_value; }
}
16
17
public
Test
()
18
{
19
m_value
=
new
V
();
20
m_value
[
0
] =
1
;
21
}
22
23
public static void
Main
()
24
{
25
}
26
}