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>2009-02-26 20:05:03 +0300
committerMarek Safar <marek.safar@gmail.com>2009-02-26 20:05:03 +0300
commitb0afbbb70932df9117c0bba364fc28741de8a3a3 (patch)
treef71330dfb5cf4dbefee38b70b99b08c800c6c47e /mcs/tests/gtest-435.cs
parente7ead66345334439ae63ce939a3314e3b1f0bd9f (diff)
New test.
svn path=/trunk/mcs/; revision=128119
Diffstat (limited to 'mcs/tests/gtest-435.cs')
-rw-r--r--mcs/tests/gtest-435.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/mcs/tests/gtest-435.cs b/mcs/tests/gtest-435.cs
index ac5e867160a..87fd5793537 100644
--- a/mcs/tests/gtest-435.cs
+++ b/mcs/tests/gtest-435.cs
@@ -4,8 +4,18 @@ namespace testcase
{
public class Program
{
- private static int Main ()
+ static int Main ()
{
+ DateTime? a = default (DateTime?);
+ DateTime? b = default (DateTime?);
+ bool res = a == b;
+ if (!res)
+ return 4;
+
+ res = a != b;
+ if (res)
+ return 3;
+
decimal? D1 = null;
decimal? D2 = 7;