New test.
authorMarek Safar <marek.safar@gmail.com>
Fri, 26 Mar 2010 14:37:44 +0000 (14:37 -0000)
committerMarek Safar <marek.safar@gmail.com>
Fri, 26 Mar 2010 14:37:44 +0000 (14:37 -0000)
svn path=/trunk/mcs/; revision=154277

mcs/errors/gcs0701-3.cs [deleted file]
mcs/errors/gcs0706.cs [new file with mode: 0644]

diff --git a/mcs/errors/gcs0701-3.cs b/mcs/errors/gcs0701-3.cs
deleted file mode 100644 (file)
index 4522501..0000000
+++ /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\r
-// Line: 4\r
-\r
-public class C<T>  where T : string[]\r
-{\r
-}
\ No newline at end of file
diff --git a/mcs/errors/gcs0706.cs b/mcs/errors/gcs0706.cs
new file mode 100644 (file)
index 0000000..08edb3f
--- /dev/null
@@ -0,0 +1,6 @@
+// CS0706: Invalid constraint type `string[]'\r
+// Line: 4\r
+\r
+public class C<T>  where T : string[]\r
+{\r
+}\r