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
2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git]
/
mcs
/
tests
/
test-487.cs
blob
d692ea9b9420eff33e24637705f21ddd8fb8e424
1
using
System
;
2
struct
X
{
3
int
i
;
4
static bool
pass
=
false
;
5
6
X
(
object
dummy
)
7
{
8
X x
=
new
X
();
9
x
.
i
=
1
;
10
int
n
=
0
;
11
12
if
((
this
=
x
).
i
==
1
)
13
n
++;
14
15
if
(
this
.
i
==
1
)
16
n
++;
17
18
pass
= (
n
==
2
);
19
}
20
static int
Main
()
21
{
22
new
X
(
null
);
23
return
pass
?
0
:
1
;
24
}
25
}