New test.
authorMarek Safar <marek.safar@gmail.com>
Fri, 18 Sep 2009 09:15:52 +0000 (09:15 -0000)
committerMarek Safar <marek.safar@gmail.com>
Fri, 18 Sep 2009 09:15:52 +0000 (09:15 -0000)
svn path=/trunk/mcs/; revision=142176

mcs/errors/cs1057-3.cs [new file with mode: 0644]

diff --git a/mcs/errors/cs1057-3.cs b/mcs/errors/cs1057-3.cs
new file mode 100644 (file)
index 0000000..3c5bbc7
--- /dev/null
@@ -0,0 +1,10 @@
+// CS1057: `S.P.set': Static classes cannot contain protected members
+// Line: 6
+
+static class S
+{
+       public static int P {
+               get;
+               protected set;
+       }
+}