repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #15293 from lewing/wasm-clean
[mono-project.git]
/
mcs
/
tests
/
test-485.cs
blob
7892fb6b540bff0304bc35d2e8e98854d792a541
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
}