repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0220.cs
blob
f28f0b87a642f891c2a3c51ade3a0a4cb4c001fd
1
// cs0220.cs: The operation overflows at compile time in checked mode
2
// Line: 7
3
4
public class
MainClass
{
5
static void
Main
() {
6
const long
a
=
long
.
MaxValue
;
7
long
b
=
2
*
a
;
8
}
9
}
10
11