X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-null-operator-05.cs;h=ecbc6019059105b87a997e1ee08f830545102d92;hb=100bd760a46811121b4b47ebba941d4fb98486ab;hp=e8d9cfffbf118c708687b337c40dff73a0d9b587;hpb=90ccde72e53abc6fce46b457251b332783c8da79;p=mono.git diff --git a/mcs/tests/test-null-operator-05.cs b/mcs/tests/test-null-operator-05.cs index e8d9cfffbf1..ecbc6019059 100644 --- 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;