diff options
author | Marek Safar <marek.safar@gmail.com> | 2009-02-26 20:05:03 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2009-02-26 20:05:03 +0300 |
commit | b0afbbb70932df9117c0bba364fc28741de8a3a3 (patch) | |
tree | f71330dfb5cf4dbefee38b70b99b08c800c6c47e /mcs/tests/gtest-435.cs | |
parent | e7ead66345334439ae63ce939a3314e3b1f0bd9f (diff) |
New test.
svn path=/trunk/mcs/; revision=128119
Diffstat (limited to 'mcs/tests/gtest-435.cs')
-rw-r--r-- | mcs/tests/gtest-435.cs | 12 |
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; |