a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
366 B
C#
18 lines
366 B
C#
// CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `short'
|
|
// Line: 11
|
|
// Compiler options: /warn:2 /warnaserror
|
|
using System;
|
|
|
|
public class CS0652 {
|
|
|
|
public static void Main ()
|
|
{
|
|
short us = 0;
|
|
if (us == -10000000)
|
|
Console.WriteLine (":(");
|
|
else
|
|
Console.WriteLine (":)");
|
|
}
|
|
}
|
|
|