Bump external/ikdasm to master.
[mono-project.git] / mono / tests / interfacecast.cs
blob3f7080ca6783a21a688e2fc62481ee5b8ae639db
1 using System;
3 public class Test {
5 public enum MyEnum {
6 ZERO,
7 ONE
10 public static int Main() {
11 MyEnum en = MyEnum.ONE;
12 IComparable ic;
13 object o = en;
15 ic = (IComparable)o;
17 ic = (object)en as IComparable;
18 if (ic == null)
19 return 1;
21 return 0;