Merge pull request #4327 from vkargov/vk-abcremedy
[mono.git] / mcs / tests / test-485.cs
1 // Compiler options: -checked
2
3 using System;
4
5 public class MonoBUG
6 {
7         public static int Main ()
8         {
9                 long l = long.MaxValue;
10                 
11                 try {
12                         l *= 2;
13                         return 1;
14                 } catch (OverflowException) {
15                 }
16                 
17                 return 0;
18         }
19 }