projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2007-04-10 Marek Safar <marek.safar@gmail.com>
[mono.git]
/
mcs
/
tests
/
test-196.cs
diff --git
a/mcs/tests/test-196.cs
b/mcs/tests/test-196.cs
index 8a984f0502fa7f2bc2c7100a0bb0ec5af5de6a4c..23bf372a5886538a4aabec5655df98098a15e81c 100644
(file)
--- a/
mcs/tests/test-196.cs
+++ b/
mcs/tests/test-196.cs
@@
-16,8
+16,12
@@
class X {
long ll = (b & (l << r));
}
- static
void
Main ()
+ static
int
Main ()
{
+ const byte b = 255;
+ const int i = b << int.MaxValue;
+ const int i2 = b << int.MaxValue;
+
return 0;
}
}