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>2012-11-15 20:44:46 +0400
committerMarek Safar <marek.safar@gmail.com>2012-11-16 15:30:31 +0400
commiteb440e5454af863ab976fc3314eda727efcb108b (patch)
treef99efdf0a29f2e4a406412de9603d02866009802 /mcs/tests/gtest-409.cs
parent9c599488867f02f913d9fed50f49df279044408c (diff)
Fix parsing conditional expression with nullable type followed by coallesce operator. Fixes #8384
Diffstat (limited to 'mcs/tests/gtest-409.cs')
-rw-r--r--mcs/tests/gtest-409.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/tests/gtest-409.cs b/mcs/tests/gtest-409.cs
index a17f9c284ff..12f979cff36 100644
--- a/mcs/tests/gtest-409.cs
+++ b/mcs/tests/gtest-409.cs
@@ -106,6 +106,11 @@ public class ConditionalParsing
return 1;
}
+ void Test_13 (object param)
+ {
+ if (param as bool? ?? false) {} else {}
+ }
+
public static void Main ()
{
}