projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
tests
/
test-849.cs
diff --git
a/mcs/tests/test-849.cs
b/mcs/tests/test-849.cs
index 58be5f68f4123ddbd0488bbfb1cdc110f06ba554..83310f20dcdf9b72bcfae533b0da4e6a9900373c 100644
(file)
--- a/
mcs/tests/test-849.cs
+++ b/
mcs/tests/test-849.cs
@@
-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;