Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-849.cs
index 58be5f68f4123ddbd0488bbfb1cdc110f06ba554..83310f20dcdf9b72bcfae533b0da4e6a9900373c 100644 (file)
@@ -2,6 +2,11 @@ using System;
 
 class ConditionalPromotions
 {
+       public static int Test (bool condition, short value)
+       {
+               return condition ? -1 : value;
+       }
+
        public static int Main(string[] args)
        {
                var r1 = args.Length > 0 ? 1 : (short)1;