GenericParameter.cs: override Module properly
[mcs.git] / tests / test-737.cs
blob548fc61e9a6c3e7d646e1d632e30672c243df6ff
1 using System;
3 public struct Breaks
5 private double val;
7 public double this[int i, int j]
9 get { return val; }
10 set { val = value; }
13 public Breaks (double val)
15 this.val = val;
19 public class Tester
21 public static int Main ()
23 Breaks b = new Breaks (3.0);
24 b[0, 0] += 3.0;
25 if (b[0, 0] != 6.0)
26 return 1;
28 return 0;