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>2001-12-23 18:29:57 +0300
committerMiguel de Icaza <miguel@gnome.org>2001-12-23 18:29:57 +0300
commit3e2bf7b586522a290b621d4841747e16f02e3d78 (patch)
treea2a3129b3fbf038d2ee6dccad9f41728963c2fb8 /mcs/tests/test-62.cs
parent5ba87d96fedddbed3b2f84502a253cef90738cb7 (diff)
Test 62
svn path=/trunk/mcs/; revision=1698
Diffstat (limited to 'mcs/tests/test-62.cs')
-rwxr-xr-xmcs/tests/test-62.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/mcs/tests/test-62.cs b/mcs/tests/test-62.cs
new file mode 100755
index 00000000000..550956009e0
--- /dev/null
+++ b/mcs/tests/test-62.cs
@@ -0,0 +1,28 @@
+//
+// This test just makes sure that we can typecast to
+// array types, as this was introduced later into the
+// grammar.
+//
+
+class X {
+
+ X [] GetX ()
+ {
+ return (X []) null;
+ }
+
+ int [] getInt ()
+ {
+ return (int []) null;
+ }
+
+ int [,,] getMoreInt ()
+ {
+ return (int [,,]) null;
+ }
+
+ static int Main ()
+ {
+ return 0;
+ }
+}