2009-10-20 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-175.cs
blob6f2727f8175f0e5b4f08c459ced572619d4c8e33
1 using System;
3 public class Foo
7 public class X
9 public static Foo Test (Foo foo, Foo bar)
11 return foo ?? bar;
14 public static int Main()
16 Foo[] array = new Foo [1];
18 Foo foo = new Foo ();
19 Foo bar = Test (array [0], foo);
21 if (bar == null)
22 return 1;
24 return 0;