a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
20 lines
216 B
C#
20 lines
216 B
C#
// Compiler options: -checked
|
|
|
|
using System;
|
|
|
|
public class MonoBUG
|
|
{
|
|
public static int Main ()
|
|
{
|
|
long l = long.MaxValue;
|
|
|
|
try {
|
|
l *= 2;
|
|
return 1;
|
|
} catch (OverflowException) {
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
}
|