From: Marek Safar Date: Fri, 26 Mar 2010 14:37:44 +0000 (-0000) Subject: New test. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=0717f141b92db56481cc09af70c026d7ffad8921 New test. svn path=/trunk/mcs/; revision=154277 --- 0717f141b92db56481cc09af70c026d7ffad8921 diff --cc mcs/errors/gcs0701-3.cs index 4522501b98d,4522501b98d..00000000000 deleted file mode 100644,100644 --- a/mcs/errors/gcs0701-3.cs +++ /dev/null @@@ -1,6 -1,6 +1,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[] --{ --} diff --cc mcs/errors/gcs0706.cs index 00000000000,00000000000..08edb3fd10f new file mode 100644 --- /dev/null +++ b/mcs/errors/gcs0706.cs @@@ -1,0 -1,0 +1,6 @@@ ++// CS0706: Invalid constraint type `string[]' ++// Line: 4 ++ ++public class C where T : string[] ++{ ++}