projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement async for lambda expressions
[mono.git]
/
mcs
/
tests
/
test-196.cs
diff --git
a/mcs/tests/test-196.cs
b/mcs/tests/test-196.cs
index 23bf372a5886538a4aabec5655df98098a15e81c..2721b2d8cb4a99933484435f137242331e54f4e9 100644
(file)
--- a/
mcs/tests/test-196.cs
+++ b/
mcs/tests/test-196.cs
@@
-21,6
+21,12
@@
class X {
const byte b = 255;
const int i = b << int.MaxValue;
const int i2 = b << int.MaxValue;
+
+ long token = uint.MaxValue;
+ const int column_mask = (int)((1 << 32) - 1);
+ int r2 = (int) (token & column_mask);
+ if (r2 != 0)
+ return 1;
return 0;
}