diff options
author | Marek Safar <marek.safar@gmail.com> | 2008-03-12 22:35:25 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2008-03-12 22:35:25 +0300 |
commit | aa9896ac953454309ad13a57e4f8e0895bd697ac (patch) | |
tree | fd4ed8c74486758a101b30ee57e1a1a60c491805 /mcs/tests/test-556.cs | |
parent | ebd12089178fd30fe8e1ab97097ddc718405a43d (diff) |
Better test.
svn path=/trunk/mcs/; revision=98082
Diffstat (limited to 'mcs/tests/test-556.cs')
-rw-r--r-- | mcs/tests/test-556.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mcs/tests/test-556.cs b/mcs/tests/test-556.cs index 5bb48331a13..e9cced721ed 100644 --- a/mcs/tests/test-556.cs +++ b/mcs/tests/test-556.cs @@ -24,7 +24,15 @@ public class S const decimal dec = c; } - static void Main () + static int Main () { + long i = 1; + int i2 = 0xA0; + long b = i << i2; + + if (b != 4294967296) + return 1; + + return 0; } } |