8b9b85e7f5
Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
16 lines
218 B
C#
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;
|
|
}
|
|
} |