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
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
gtest-autoproperty-13.cs
blob
b6d84be28da0fd81df8079803f0f91137aa9a139
1
using
System
;
2
3
public struct
S
4
{
5
public int
X { get; }
6
public int
Y { get; }
7
8
public
S
()
9
{
10
X
=
4
;
11
Y
=
X
;
12
}
13
14
public static int
Main
()
15
{
16
var
s
=
new
S
();
17
if
(
s
.
Y
!=
4
)
18
return
1
;
19
20
return
0
;
21
}
22
}