[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-387.cs
blob289713505ef9fb0161781ec6c884ea23e5945161
1 public struct ObjectID {
2 long l;
4 public ObjectID (long l)
6 this.l = l;
9 public static implicit operator long (ObjectID p)
11 return p.l;
14 public static implicit operator ObjectID (long l)
16 return new ObjectID (l);
19 public static void Main ()
21 ObjectID x = new ObjectID (0);
22 decimal y = x;