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-04-25 13:50:59 +0400
committerMarek Safar <marek.safar@gmail.com>2008-04-25 13:50:59 +0400
commit5ad68714ef20d078b5ecf56868f4be175ed6c503 (patch)
tree512a2ec5bc51a850a7fa56d9082ffd0f6e4c232e /mcs/tests/gtest-387.cs
parente160f9af7e1a2164a0f0f237e9b44a0518b141d6 (diff)
New tests.
svn path=/trunk/mcs/; revision=101781
Diffstat (limited to 'mcs/tests/gtest-387.cs')
-rw-r--r--mcs/tests/gtest-387.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/tests/gtest-387.cs b/mcs/tests/gtest-387.cs
new file mode 100644
index 00000000000..a13c4d2e705
--- /dev/null
+++ b/mcs/tests/gtest-387.cs
@@ -0,0 +1,17 @@
+class C
+{
+ public static int Main ()
+ {
+ sbyte? s = null;
+ long? tt = +s;
+ if (tt != null)
+ return 1;
+
+ long? l = null;
+ l = +l;
+ if (l != null)
+ return 2;
+
+ return 0;
+ }
+}