[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0460-2.cs
1 // CS0460: `C.Test<T>()': Cannot specify constraints for overrides and explicit interface implementation methods
2 // Line: 11
3
4 abstract class A
5 {
6         protected abstract int Test<T>() where T : class;
7 }
8
9 class C : A
10 {
11         protected override int Test<T>() where T : new()
12         {
13         }
14 }