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
[ilasm] Don't break arguments compatiblity
[mono-project.git]
/
mcs
/
tests
/
test-176.cs
blob
454b65c3378b153fa2f3d5a3ff1a3a14fb4bdef0
1
using
System
;
2
3
//
4
// ~ constant folding
5
//
6
class
X
{
7
const byte
b
=
0x0f
;
8
9
public static int
Main
()
10
{
11
int
x
=
~b
;
12
byte
bb
=
0xf
;
13
14
if
(
~bb
!=
x
){
15
Console
.
WriteLine
(
"
{0:x}
"
,
x
);
16
return
1
;
17
}
18
return
0
;
19
}
20
}