Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0221-3.cs
bloba06c7025d071a45518e97a421e31a3e9822efce1
1 // CS0221: Constant value `-9' cannot be converted to a `E' (use `unchecked' syntax to override)
2 // Line: 10
4 enum E:byte {
5 Min = 9
8 class T {
9 static void Main () {
10 E error = (E)(-9);
11 System.Console.WriteLine (error);