Merge pull request #5567 from kumpera/fix_59334
[mono.git] / mcs / errors / cs0458-5.cs
1 // CS0458: The result of the expression is always `null' of type `E?'
2 // Line: 15
3 // Compiler options: -warnaserror -warn:2
4
5 enum E
6 {
7         V
8 }
9
10 public class C
11 {
12         public static void Main ()
13         {
14                 E e = E.V;
15                 object o = e + null;
16         }
17 }