summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0455-3.cs
blob: fe08835898be0e24b33b7d2605e4f5e5e492c9ba (plain)
1
2
3
4
5
6
7
8
9
10
// CS0455: Type parameter `T' inherits conflicting constraints `System.ValueType' and `Test'
// Line: 8

class Test
{ }

class Foo<T,U>
	where T : struct, U
	where U : Test
{ }