a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
227 B
C#
21 lines
227 B
C#
using System;
|
|
|
|
//
|
|
// ~ constant folding
|
|
//
|
|
class X {
|
|
const byte b = 0x0f;
|
|
|
|
public static int Main ()
|
|
{
|
|
int x = ~b;
|
|
byte bb = 0xf;
|
|
|
|
if (~bb != x){
|
|
Console.WriteLine ("{0:x}", x);
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|
|
}
|