Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

18 lines
204 B
C#

// CS0455: Type parameter `T3' inherits conflicting constraints `X' and `Y'
// Line: 15
class X
{
}
class Y
{
}
class C<T1, T2, T3, T4>
where T1 : X
where T2 : T1
where T3 : Y, T4
where T4 : T2
{
}