[corlib] Use temp directory for assemblies in SaveTest.Save() (#5727)
[mono.git] / mcs / errors / cs0029-30.cs
1 // CS0029: Cannot implicitly convert type `U' to `int'
2 // Line: 13
3
4 abstract class A<T>
5 {
6         public abstract void Foo<U> (U arg) where U : T;
7 }
8
9 class B : A<int>
10 {
11         public override void Foo<U> (U arg)
12         {
13                 int i = arg;
14         }
15 }