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-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0675.cs
blob
1223911549bcbc4206cbbd4fe0913ff07b4ec708
1
// CS0675: The operator `|' used on the sign-extended type `int'. Consider casting to a smaller unsigned type first
2
// Line: 11
3
// Compiler options: -warnaserror -warn:3
4
5
public class
C
6
{
7
public static void
Main
()
8
{
9
int
x
=
1
;
10
int
y
=
1
;
11
long value
= (((
long
)
x
) <<
32
) |
y
;
12
}
13
}
14