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>2010-05-29 17:21:49 +0400
committerMarek Safar <marek.safar@gmail.com>2010-05-29 17:21:49 +0400
commit7a9955aadeac878e98bd79edd1c38919834d1c86 (patch)
tree5e4424a39232f9383b1909c6af71e076f3b56ad6 /mcs/tests/test-779.cs
parent184f167de9516369d3c6d12aaaef0106b29d28b3 (diff)
New test.
svn path=/trunk/mcs/; revision=158160
Diffstat (limited to 'mcs/tests/test-779.cs')
-rw-r--r--mcs/tests/test-779.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/tests/test-779.cs b/mcs/tests/test-779.cs
new file mode 100644
index 00000000000..0792c94bcba
--- /dev/null
+++ b/mcs/tests/test-779.cs
@@ -0,0 +1,19 @@
+using System;
+
+public static class Test
+{
+ public static int Main ()
+ {
+ if (test1 (15, 15))
+ return 1;
+
+ return 0;
+ }
+
+ //Bug #610126
+ static bool test1 (long a, long b)
+ {
+ if ((a & b) == 0L) return true;
+ return false;
+ }
+} \ No newline at end of file