Files
mono/mcs/errors/gcs0701-2.cs
T
Marek Safar 8743a7a5af New tests.
svn path=/trunk/mcs/; revision=65137
2006-09-08 21:46:59 +00:00

11 lines
175 B
C#

// gcs0701.cs: `S' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter
// Line: 8
struct S
{
}
class Foo<T> where T : S
{
}