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-01-02 20:31:33 +0300
committerMarek Safar <marek.safar@gmail.com>2009-01-02 20:31:33 +0300
commitea99b465d035fe4bfca610058357f49b2a7dee9e (patch)
tree1ddfbc2be510d4e49e897652ba5477042e200d71 /mcs/tests/gtest-435.cs
parent7d4dbae6388f7fc5d196b49bc92ac596e9fd49d0 (diff)
New test.
svn path=/trunk/mcs/; revision=122345
Diffstat (limited to 'mcs/tests/gtest-435.cs')
-rw-r--r--mcs/tests/gtest-435.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/mcs/tests/gtest-435.cs b/mcs/tests/gtest-435.cs
new file mode 100644
index 00000000000..ac5e867160a
--- /dev/null
+++ b/mcs/tests/gtest-435.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace testcase
+{
+ public class Program
+ {
+ private static int Main ()
+ {
+ decimal? D1 = null;
+ decimal? D2 = 7;
+
+ if (D1 == D2) {
+ Console.WriteLine ("null == 7 incorrect");
+ return 1;
+ } else if (D1 != D2) {
+ Console.WriteLine ("null != 7 correct");
+ return 0;
+ }
+ return 2;
+ }
+ }
+}
+