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
2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
tests
/
test-182.cs
blob
08fe6448dcea4029372e0d69c220ae9d26304a1a
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
static int
Main
() {
20
DT t
=
new
DT
();
21
if
(
t
.
Ticks
!=
1
)
22
return
1
;
23
return
0
;
24
}
25
}