X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Ftest-null-operator-03.cs;h=2dec27a104c8a1b834bfbc6ecc18b98cca44c74b;hb=f89d6b0c76101fbff995ed8893f4724e079f60f3;hp=c58d689a21e74cef4943188360f86cd036f819c7;hpb=8da27c63c37365e4467b2e780e3febcf59c8e0c7;p=mono.git diff --git a/mcs/tests/test-null-operator-03.cs b/mcs/tests/test-null-operator-03.cs index c58d689a21e..2dec27a104c 100644 --- 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; }