2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / tests / test-196.cs
1 //
2 // Tests related to constants and binary operators (bug 39018)
3 //
4
5 class X {
6         void Bug1 () {
7                 uint a = 1, b = 2;
8                 long l = (b & (0x1 << 31));
9         }
10
11         void Bug2 () {
12                 uint a = 1, b = 2;
13                 const int l = 1;
14                 const int r = 31;
15                 
16                 long ll = (b & (l << r));
17         }
18         
19         static int Main ()
20         {
21                 return 0;
22         }
23 }