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
/
gtest-545.cs
diff --git
a/mcs/tests/gtest-545.cs
b/mcs/tests/gtest-545.cs
index 63ca06b2b5484df6b984bec316713cbbe0980409..5668a7dca7afda43128c2fc6bc564adfd2b44edc 100644
(file)
--- a/
mcs/tests/gtest-545.cs
+++ b/
mcs/tests/gtest-545.cs
@@
-21,6
+21,20
@@
public static class ApplicationContext
if (res)
return 2;
+ int? re = 3 + (short?) 7;
+ if (re != 10)
+ return 3;
+
+ int a = 2;
+ int b = 2;
+ int? c = (byte?)a + b;
+ if (c != 4)
+ return 4;
+
+ c = a + (ushort?)b;
+ if (c != 4)
+ return 5;
+
return 0;
}
}