projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mcs] Member access null propagating operator
[mono.git]
/
mcs
/
tests
/
test-null-operator-04.cs
diff --git a/mcs/tests/test-null-operator-04.cs
b/mcs/tests/test-null-operator-04.cs
new file mode 100644
(file)
index 0000000..
6796920
--- /dev/null
+++ b/
mcs/tests/test-null-operator-04.cs
@@ -0,0
+1,14
@@
+using System;
+
+public class D
+{
+ void Foo ()
+ {
+ }
+
+ public static void Main()
+ {
+ D d = null;
+ Action a = d?.Foo;
+ }
+}