projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-07-24 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
test-182.cs
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
}