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
Fix all CreateInstance overloads for void
[mcs.git]
/
tests
/
test-176.cs
blob
de83474486ecb3068792a93929e80de7125249c6
1
using
System
;
2
3
//
4
// ~ constant folding
5
//
6
class
X
{
7
const byte
b
=
0x0f
;
8
9
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
}