[mcs] Fixes codegen for pattern probing with value-type variables
[mono.git] / mcs / errors / cs0456.cs
1 // CS0456: Type parameter `U' has the `struct' constraint, so it cannot be used as a constraint for `T'
2 // Line: 7
3 using System;
4
5 class Foo<T,U>
6         where T : U
7         where U : struct
8 { }
9
10 class X
11 {
12         static void Main ()
13         { }
14 }