remove NotWorking
[mcs.git] / tests / gtest-074.cs
blobdae2000a3a9bec3c6fa434ea9fd527ef6a8fd872
1 using System;
3 public struct Foo<T>
5 public T Data, Data2;
7 public Foo (T a, T b)
9 this.Data = a;
10 this.Data2 = b;
14 public class Test<T>
16 public T Data, Data2;
18 public Test (T a, T b)
20 this.Data = a;
21 this.Data2 = b;
25 class X
27 static int Main ()
29 Foo<long> foo = new Foo<long> (3, 5);
30 if (foo.Data != 3)
31 return 1;
32 if (foo.Data2 != 5)
33 return 2;
35 Test<long> test = new Test<long> (3, 5);
36 if (test.Data != 3)
37 return 3;
38 if (test.Data2 != 5)
39 return 4;
41 return 0;