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-06-24 08:32:48 +0400
committerMiguel de Icaza <miguel@gnome.org>2003-06-24 08:32:48 +0400
commit9208ad691797ba3ca46bf0fa5e9f1a159db9ffe3 (patch)
tree466e6517fa13145e87fbc9c194d8527bb3eb0476 /mcs/errors/cs0021-2.cs
parent9002bba3b79d33e9cd0661da20e46cefea7167ed (diff)
Add another test
svn path=/trunk/mcs/; revision=15600
Diffstat (limited to 'mcs/errors/cs0021-2.cs')
-rw-r--r--mcs/errors/cs0021-2.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/errors/cs0021-2.cs b/mcs/errors/cs0021-2.cs
new file mode 100644
index 00000000000..55a18ea763f
--- /dev/null
+++ b/mcs/errors/cs0021-2.cs
@@ -0,0 +1,11 @@
+using System;
+class X {
+
+public void Foo (Array bar)
+{
+ object baz = bar[0];
+}
+
+ static void Main () {}
+}
+