diff options
author | Miguel de Icaza <miguel@gnome.org> | 2004-04-06 07:00:57 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2004-04-06 07:00:57 +0400 |
commit | 1affeb05b39cb2dc843be595fe8b365fece0c7d1 (patch) | |
tree | 1d92937b6f452dbac774962c8ea9acdc885fd93e /mcs/errors/cs0633.cs | |
parent | 424c702adca518bdc6ebfb160fef7934e473785d (diff) |
Added test
svn path=/trunk/mcs/; revision=25074
Diffstat (limited to 'mcs/errors/cs0633.cs')
-rw-r--r-- | mcs/errors/cs0633.cs | 15 |
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]; + } +} + + |