[mcs] Pending implementation of accessors cannot hide base implementation with differ...
[mono.git] / mcs / tests / gtest-558.cs
1 using System;
2
3 abstract class A<T>
4 {
5         public abstract void Foo<U> (U arg) where U : T;
6 }
7
8 class B : A<int>
9 {
10         public override void Foo<U> (U arg)
11         {
12                 ValueType vt = arg;
13                 Next (arg);
14         }
15         
16         void Next<UU> (UU a) where UU : struct
17         {
18         }
19
20         public static void Main ()
21         {
22                 new B ().Foo (5);
23         }
24 }