2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / tests / test-182.cs
blob08fe6448dcea4029372e0d69c220ae9d26304a1a
1 //
2 // See bug 37473
3 //
4 using System;
5 struct TS {
6 long ticks;
7 public long Ticks {
8 get {return ++ticks;}
11 struct DT {
12 TS t;
13 public long Ticks {
14 get {return t.Ticks;}
18 class T {
19 static int Main () {
20 DT t = new DT ();
21 if (t.Ticks != 1)
22 return 1;
23 return 0;