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>2004-04-06 07:00:57 +0400
committerMiguel de Icaza <miguel@gnome.org>2004-04-06 07:00:57 +0400
commit1affeb05b39cb2dc843be595fe8b365fece0c7d1 (patch)
tree1d92937b6f452dbac774962c8ea9acdc885fd93e /mcs/errors/cs0633.cs
parent424c702adca518bdc6ebfb160fef7934e473785d (diff)
Added test
svn path=/trunk/mcs/; revision=25074
Diffstat (limited to 'mcs/errors/cs0633.cs')
-rw-r--r--mcs/errors/cs0633.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0633.cs b/mcs/errors/cs0633.cs
new file mode 100644
index 00000000000..43f25ed9401
--- /dev/null
+++ b/mcs/errors/cs0633.cs
@@ -0,0 +1,15 @@
+public class MonthDays {
+ [System.Runtime.CompilerServices.IndexerName ("buggypo for you")]
+ public int this [int a] {
+ get {
+ return 0;
+ }
+ }
+
+ public static void Main ()
+ {
+ int i = new MonthDays () [1];
+ }
+}
+
+