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:
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>2004-11-04 00:12:04 +0300
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>2004-11-04 00:12:04 +0300
commitcf0446d670de49b9b8ff1ed9f347b9538e15487a (patch)
tree87b2249c86e4aa4fae0cabfb9d9657799307576e /mcs/errors/cs1644-2.cs
parenta69cb03a8a8234e12639e34a5120632d2e63955b (diff)
New error tests at mcs/errors for accessor modifiers
svn path=/trunk/mcs/; revision=35611
Diffstat (limited to 'mcs/errors/cs1644-2.cs')
-rw-r--r--mcs/errors/cs1644-2.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs1644-2.cs b/mcs/errors/cs1644-2.cs
new file mode 100644
index 00000000000..6fe70063f4f
--- /dev/null
+++ b/mcs/errors/cs1644-2.cs
@@ -0,0 +1,16 @@
+// syntax error, got token `PROTECTED', expecting SET CLOSE_BRACE OPEN_BRACKET
+// Line: 13
+// Compiler options: -langversion:ISO-1
+
+class Class {
+
+ public int Count {
+
+ get {
+ return 0;
+ }
+
+ protected set {
+ }
+ }
+}