Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2003-05-05 05:59:20 +0400
committerMiguel de Icaza <miguel@gnome.org>2003-05-05 05:59:20 +0400
commit6ce07425d74baccf6a45ce78d238164c2e897413 (patch)
tree28dc427e31910afaf528633d05e3f142d2e3a3a5 /mcs/errors/cs0666.cs
parent2f1334a84ad3db0a6be1fff4bfc0e83800e1aa1c (diff)
Add another error
svn path=/trunk/mcs/; revision=14283
Diffstat (limited to 'mcs/errors/cs0666.cs')
-rw-r--r--mcs/errors/cs0666.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0666.cs b/mcs/errors/cs0666.cs
new file mode 100644
index 00000000000..af5499d83ea
--- /dev/null
+++ b/mcs/errors/cs0666.cs
@@ -0,0 +1,9 @@
+// cs0666: member declaration in struct class
+// Line: 4
+struct X {
+ protected int A;
+
+ static void Main ()
+ {
+ }
+}