2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0652-5.cs
blobe7827ef6d2b660a36825bbc580b8d884defb0a3e
1 // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `char'
2 // Line: 12
3 // Compiler options: /warn:2 /warnaserror
5 using System;
7 public class CS0652 {
9 public static void Main ()
11 char value = 'a';
12 if (value < SByte.MinValue)
13 return;