summaryrefslogtreecommitdiff
path: root/mcs/tests/test-266.cs
blob: 7b75680b2ce78310bc95b653f388cf7edb6b14e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;

enum Foo { Bar }
class T {
	public static int Main ()
	{
		Enum e = Foo.Bar;
		IConvertible convertible = (IConvertible) e;
		IComparable comparable = (IComparable) e;
		IFormattable formattable = (IFormattable) e;
		
		Console.WriteLine ("PASS");
		return 0;
	}
}