2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / cs0220.cs
blobf28f0b87a642f891c2a3c51ade3a0a4cb4c001fd
1 // cs0220.cs: The operation overflows at compile time in checked mode
2 // Line: 7
4 public class MainClass {
5 static void Main () {
6 const long a = long.MaxValue;
7 long b = 2 * a;