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
bring Mono Security to monotouch
[mcs.git]
/
tests
/
test-160.cs
blob
c2083dd68c8914d3c0c64043e52adebfc0ed3cd4
1
class
B
{
2
public
S s
;
3
}
4
class
S
{
5
public int
a
;
6
}
7
class
T
{
8
static
B foo
;
9
10
static int
blah
(
object
arg
) {
11
B look
= (
B
)
arg
;
12
foo
.
s
.
a
=
9
;
13
look
.
s
.
a
=
foo
.
s
.
a
;
14
return
look
.
s
.
a
;
15
}
16
17
static int
Main
() {
18
// Compilation only test;
19
return
0
;
20
}
21
}