2010-06-17 Geoff Norton <gnorton@novell.com>
[mono.git] / mono / tests / array-cast.cs
bloba7c6e687cd816587f1ccf492a341697398024150
1 using System;
3 namespace Test {
4 public class Test {
5 public static int Main () {
6 Attribute[] attr_array = new Attribute [1];
7 object obj = (object) attr_array;
8 object [] obj_array = (object[]) obj;
10 obj_array = obj as object[];
12 if (obj_array == null)
13 return 1;
15 return 0;