diff --git a/mcs/errors/gcs0701-3.cs b/mcs/errors/gcs0701-3.cs deleted file mode 100644 index 4522501b98d6..000000000000 --- a/mcs/errors/gcs0701-3.cs +++ /dev/null @@ -1,6 +0,0 @@ -// CS0703: `string[]' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter -// Line: 4 - -public class C where T : string[] -{ -} \ No newline at end of file diff --git a/mcs/errors/gcs0706.cs b/mcs/errors/gcs0706.cs new file mode 100644 index 000000000000..08edb3fd10f3 --- /dev/null +++ b/mcs/errors/gcs0706.cs @@ -0,0 +1,6 @@ +// CS0706: Invalid constraint type `string[]' +// Line: 4 + +public class C where T : string[] +{ +}