2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0652-4.cs
blob0528edd1664706f787e8b9044d78e6b15050b77c
1 // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `short'
2 // Line: 11
3 // Compiler options: /warn:2 /warnaserror
4 using System;
6 public class CS0652 {
8 public static void Main ()
10 short us = 0;
11 if (us == -10000000)
12 Console.WriteLine (":(");
13 else
14 Console.WriteLine (":)");