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 #1948 from akoeplinger/fix-httplistener-test-race
[mono.git]
/
mcs
/
tests
/
test-null-operator-03.cs
diff --git
a/mcs/tests/test-null-operator-03.cs
b/mcs/tests/test-null-operator-03.cs
index c58d689a21e74cef4943188360f86cd036f819c7..2dec27a104c8a1b834bfbc6ecc18b98cca44c74b 100644
(file)
--- a/
mcs/tests/test-null-operator-03.cs
+++ b/
mcs/tests/test-null-operator-03.cs
@@
-10,7
+10,9
@@
class C
if (x == null)
return 1;
- // TODO: Should it really be of int? type
+ var x2 = "abc"?.GetHashCode();
+ if (x2 == null)
+ return 2;
return 0;
}