blob: de83474486ecb3068792a93929e80de7125249c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System;
//
// ~ constant folding
//
class X {
const byte b = 0x0f;
static int Main ()
{
int x = ~b;
byte bb = 0xf;
if (~bb != x){
Console.WriteLine ("{0:x}", x);
return 1;
}
return 0;
}
}
|