Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

27 lines
294 B
C#

using System;
public class Foo
{
}
public class X
{
public static Foo Test (Foo foo, Foo bar)
{
return foo ?? bar;
}
public static int Main()
{
Foo[] array = new Foo [1];
Foo foo = new Foo ();
Foo bar = Test (array [0], foo);
if (bar == null)
return 1;
return 0;
}
}