2009-07-16 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-366.cs
blobbeeee1e2af22df1d1a003842a3efb214b4c87668
2 public struct MyType
4 int value;
6 public MyType (int value)
8 this.value = value;
11 public static implicit operator int (MyType o)
13 return o.value;
17 class Tester
19 static void Assert<T> (T expected, T value)
23 static void Main ()
25 Assert (10, new MyType (10));