summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0221-3.cs
blob: a06c7025d071a45518e97a421e31a3e9822efce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0221: Constant value `-9' cannot be converted to a `E' (use `unchecked' syntax to override)
// Line: 10

enum E:byte {
	Min = 9
}

class T {
	static void Main () {
			E error = (E)(-9);
			System.Console.WriteLine (error);
	}
}