Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2008-03-12 22:35:25 +0300
committerMarek Safar <marek.safar@gmail.com>2008-03-12 22:35:25 +0300
commitaa9896ac953454309ad13a57e4f8e0895bd697ac (patch)
treefd4ed8c74486758a101b30ee57e1a1a60c491805 /mcs/tests/test-556.cs
parentebd12089178fd30fe8e1ab97097ddc718405a43d (diff)
Better test.
svn path=/trunk/mcs/; revision=98082
Diffstat (limited to 'mcs/tests/test-556.cs')
-rw-r--r--mcs/tests/test-556.cs10
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;
}
}