linux-packaging-mono/mcs/tests/test-null-operator-011.cs
Jo Shields 7272927785 Imported Upstream version 4.0.1
Former-commit-id: 6d37e02debfe41dd5c13ba6f6a2428c8b1ff5e28
2015-04-26 19:10:23 +01:00

13 lines
135 B
C#

static class Crash
{
static string GetFoo ()
{
return null;
}
static void Main ()
{
(GetFoo ()?.ToLower ()).ToUpper ();
}
}