[sdks] Fix README.md
[mono-project.git] / mcs / tests / test-182.cs
blob476e222ec0d976037c11688c0fcd54e7c45f5aa0
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 public static int Main () {
20 DT t = new DT ();
21 if (t.Ticks != 1)
22 return 1;
23 return 0;