Jo Shields 8b9b85e7f5 Imported Upstream version 3.10.0
Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
2014-10-04 11:27:48 +01:00

16 lines
218 B
C#

// CS0472: The result of comparing value type `E' with null is always `false'
// Line: 14
// Compiler options: -warnaserror
enum E
{
}
class X
{
public static void Main ()
{
E u = 0;
var b = u == (E?)null;
}
}