2010-05-27 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-176.cs
blobde83474486ecb3068792a93929e80de7125249c6
1 using System;
3 //
4 // ~ constant folding
5 //
6 class X {
7 const byte b = 0x0f;
9 static int Main ()
11 int x = ~b;
12 byte bb = 0xf;
14 if (~bb != x){
15 Console.WriteLine ("{0:x}", x);
16 return 1;
18 return 0;