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
[tuner] handle the case with multiple "preserve" attributes
[mono-project.git]
/
mcs
/
tests
/
test-182.cs
blob
476e222ec0d976037c11688c0fcd54e7c45f5aa0
1
//
2
// See bug 37473
3
//
4
using
System
;
5
struct
TS
{
6
long
ticks
;
7
public long
Ticks
{
8
get
{return ++ticks;}
9
}
10
}
11
struct
DT
{
12
TS t
;
13
public long
Ticks
{
14
get
{return t.Ticks;}
15
}
16
}
17
18
class
T
{
19
public static int
Main
() {
20
DT t
=
new
DT
();
21
if
(
t
.
Ticks
!=
1
)
22
return
1
;
23
return
0
;
24
}
25
}