Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-62.cs
1 // 
2 // This test just makes sure that we can typecast to
3 // array types, as this was introduced later into the
4 // grammar.
5 //
6
7 class X {
8
9         X [] GetX ()
10         {
11                 return (X []) null;
12         }
13
14         int [] getInt ()
15         {
16                 return (int []) null;
17         }
18
19         int [,,] getMoreInt ()
20         {
21                 return (int [,,]) null;
22         }
23
24         public static int Main ()
25         {
26                 return 0;
27         }
28 }