2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-618.cs
blob825c0a950582ac324e5d795eb4f6269a3356493b
1 using System;
3 class C
5 //
6 // All the operations should be reduced
7 //
8 public static void ZeroBasedReductions ()
10 int a = 1;
12 a = a + 0;
13 a = a - 0;
14 a = a | 0;
15 a = 0 + a;
16 a = 0 - a;
17 a = 0 | a;
19 a = a >> 0x40;
22 public static void Main ()
24 ZeroBasedReductions ();