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 #4935 from lambdageek/dev-handles-may
[mono.git]
/
mcs
/
tests
/
test-null-operator-05.cs
diff --git
a/mcs/tests/test-null-operator-05.cs
b/mcs/tests/test-null-operator-05.cs
index e8d9cfffbf118c708687b337c40dff73a0d9b587..ecbc6019059105b87a997e1ee08f830545102d92 100644
(file)
--- a/
mcs/tests/test-null-operator-05.cs
+++ b/
mcs/tests/test-null-operator-05.cs
@@
-24,6
+24,11
@@
class C
if (v3 != 724)
return 3;
+ string[] ar3 = null;
+ var v4 = ar3?[0].Length;
+ if (v4 != null)
+ return 4;
+
// TODO: Disabled for now?
// arr? [0] += 2;
return 0;